-
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
Some standard color escape codes don't work in Spyder console #21225
Comments
Hey @kevin-guimard-ext, thanks for reporting. You said:
Our support for ANSI codes is quite limited. It'd be great if you could help us to improve it, if you have time. It's implemented here: https://github.com/jupyter/qtconsole/blob/master/qtconsole/ansi_code_processor.py |
I'd be pretty unable to... So, it's a problem linked with QT, not with Spyder? |
Sorry to hear that.
We use the Qtconsole project to power our IPython console in Spyder. But we also maintain that project, so we could make the necessary changes to it to expand its ANSI codes support. The problem is we're understaffed, so we don't have time for it. |
Ok I see. Let's put the issue in the backlog then. |
Note: Related with jupyter/qtconsole#273 |
Issue Report Checklist
conda update spyder
(orpip
, if not using Anaconda)jupyter qtconsole
(if console-related)spyder --reset
Problem Description
Do you know why some standard color escape codes don't work in Spyder?
For instance, using the yellow color code produces a red output:
What steps reproduce the problem?
print("\033[0;33m" + "test")
What is the expected output? What do you see instead?
I expect to see the word "test" written in yellow.
Versions
Dependencies
The text was updated successfully, but these errors were encountered: