Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ExceptionRenderer/Console switch to yellow font #420

Closed
DarkSide666 opened this issue Feb 7, 2025 · 2 comments · Fixed by #421
Closed

ExceptionRenderer/Console switch to yellow font #420

DarkSide666 opened this issue Feb 7, 2025 · 2 comments · Fixed by #421
Labels

Comments

@DarkSide666
Copy link
Member

https://github.com/atk4/core/blob/develop/src/ExceptionRenderer/Console.php

I guess something is wrong with this because it switch console font color to yellow after it finish dumping out text.
I expect it to switch back to previous text color as it was before dumping out this.

Is that possible?

@mvorisek
Copy link
Member

mvorisek commented Feb 7, 2025

Repro please and a test case :) You will then figure out it easily..

@mvorisek
Copy link
Member

mvorisek commented Feb 7, 2025

ANSI colors are explained in https://stackoverflow.com/questions/4842424/list-of-ansi-color-escape-sequences

would be great to move the "magic parts" into private consts with good names like ANSI_COLOR_RED, ANSI_COLOR_RESET, ..

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Development

Successfully merging a pull request may close this issue.

2 participants