[IPython-user] bug with foreground color
walter at livinglogic.de
Wed Jun 7 08:49:09 CDT 2006
Alexander Belchenko wrote:
> Walter Dörwald пишет:
>> Alexander Belchenko wrote:
>>> I think it's the bug. Please don't touch default foreground color!
>> Are you using a custom color scheme?
> What is custom color scheme?
> I use standard "Linux" color scheme with black background.
>> You might try fiddling with Console.write_color() in console.py to see
>> if you can fix this problem. My guess is that ``attr = attr & ~0x08`` in
>> the ``if part == "0": # switch to default`` test is the "problem".
>> The real problem might be that the end of the prompt outputs "\033[0m"
>> to switch back to the default color, when what it really should do is
>> switch back to IPython normal output color.
Can you try the attached patch?
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
More information about the IPython-user