-
Notifications
You must be signed in to change notification settings - Fork 239
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
Preserve/Detect/Set terminal text color #27
Comments
I'm not sure if this classifies as a bug, enhancement, or just user support, but thank you for any help. |
I can certainly try. Generally speaking, I already use the standard interfaces supported by the underlying OS to do a reset... I might be able to tweak that, but it will depend on the OS. Can you please give me some more details of what your environment is and how you set up your default green text? |
I'm using powershell on Windows 8.1. |
And which version of asciimatics are you running? |
Right, 1.6.0 |
OK - I think I see what's needed... Will see if I can patch it next week. |
Thanks, you rock! |
OK - this is now fixed by 65156fc. I'll roll it out in the next major build - which should be v1.7. |
It may be a problem with my configuration or perhaps how I am using your package, but when I attempt to run an asciimatics program, the text color of my terminal is switched from green to white, and I have to manually switch it back after I'm done playing with asciimatics.
It would be nice if this could be automated. If it is not convenient for asciimatics to reset the colors, could/does the package perhaps expose functions for detecting and setting the text color of the terminal? Or does it do so already and I just have some kind of configuration issue?
To clarify, I am referring to the text color of my shell when asciimatics is not running. Before running asciimatics, the text color is green; After running a my asciimatics program, it is white. I would like for it to remain green.
The text was updated successfully, but these errors were encountered: