[IPython-user] Prompt expressions

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


Ville Vainio wrote:
> On 6/15/06, Walter Dörwald <walter at livinglogic.de> wrote:
> 
>> What about the
>> output prompt?
> 
> Output prompts now (rev 1366) work through generate_output_prompt
> hook, an example:

Why not simply pass a prompt type to the generate_prompt hook:
    0 == input prompt
    1 == secondary input prompt
    2 == output prompt

This might simplify stuff, as input and output prompts might share code.

Servus,
    Walter




More information about the IPython-user mailing list