IPython 7.29.0 -- An enhanced Interactive Python. Type '?' for help. In [1]: import blessed In [2]: term = blessed.Terminal() In [3]: term.yellow Out[3]: '\x1b[33m' In [4]: term.bright_yellow Out[4]: '\x1b[311m' this done manually works: n [5]: ansi_bright_yellow = '\x1b[1;93;48m' In [6]: print(ansi_bright_yellow + 'TEST') TEST
Hello p5B2E9A8F@t-online.de, Thanks for the report. This appears to be an upstream issue and should be reported upstream https://github.com/jquast/blessed Yuri
>> and should be reported upstream I cannot do it for a reason.
For me the output is different: > $ ipython3 > Python 3.8.12 (default, Nov 6 2021, 01:10:35) > Type 'copyright', 'credits' or 'license' for more information > IPython 7.29.0 -- An enhanced Interactive Python. Type '?' for help. > > In [1]: import blessed > > In [2]: term = blessed.Terminal() > > In [3]: term.yellow > Out[3]: '\x1b[38;5;3m' > > In [4]: term.bright_yellow > Out[4]: '\x1b[38;5;11m' And colors work. I am in the XFCE4 terminal.