Re: [IPython 5] [Docs] Custom Terminal Prompts

Thomas Kluyver <[email protected]> Sat, 9 Jul 2016 17:06:43 +0100
Newsgroups gmane.comp.python.ipython.devel
Message-ID <CAOvn4qjM=WerCwacY3eN-FpOiPVVP30NwrtSEAsZ_eipVcMFXQ@mail.gmail.com>
On 9 July 2016 at 15:59, Carl Smith <[email protected]> wrote:

> Just been trying to set up a custom prompt with the new prompt_toolkit
> features, and couldn't figure it out from the IPython docs. Perhaps adding
> an example class would make things clear.


In the absence of examples in the docs, the prompt classes in the code
might be worth a look:

https://github.com/ipython/ipython/blob/master/IPython/terminal/prompts.py

_______________________________________________
IPython-dev mailing list
[email protected]
https://mail.scipy.org/mailman/listinfo/ipython-dev