[IPython-user] Prompt expressions

Walter Dörwald walter at livinglogic.de
Thu Jun 15 14:57:29 CDT 2006

Ville Vainio wrote:
> On 6/15/06, Walter Dörwald <walter at livinglogic.de> wrote:
>> So how can I generate colored prompts via the hook? What about the
>> output prompt?
> If you want to play with this right now (put an example in wiki if you
> do), try composing a string with color escape sequences from
> ColorANSI.InputTermColors like in Prompts.py


I'm pretty sure that this is not the canonical code to get escape 
sequences. Feel free to enhance the example.


More information about the IPython-user mailing list