-
Notifications
You must be signed in to change notification settings - Fork 48
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
Console colors are completely broken after sdm run #212
Comments
Thanks for trying sdm. Sorry to hear that you're having an issue. Unfortunately, the problem you are seeing with This code works correctly when using the To avoid this unpleasant mis-colorization sdm will be updated to enable the console colorizing to be disabled using a specific setting ( Addenda: Curiously, the following bash function (which you can add to your .bashrc if desired) does work on konsole. But this is the same code that sdm uses, and I've verified that sdm is doing the right thing. I don't understand why it works with this function and not in sdm, but the above workaround will be implemented in lieu of spending time chasing down the root cause, which is likely to be some konsole oddity.
|
Thanks. A switch to disable colorizing completely would be a good solution. Personally I use the sdm in an image building script for CI, so colors have no sense there. |
Are you using the |
Yes, i use --batch but sdm uses colors anyway. |
Could you provide the (appropriately redacted) command string that you are using? It shouldn't be coloring with --batch. What I see at the end of your screen output is:
which will not appear if you use
Thx |
Yes, I added --batch later. I rechecked with unmodified sdm (I disabled color changing in the code before) — you are right, with --batch background color is changed to blue during of phase 1 but restored successfully. |
OK. This will be in the next update to sdm later this week. |
|
No activity so closing issue. |
I use Konsole and colors are not restored after run (right sub-window shows original console colors)
The text was updated successfully, but these errors were encountered: