[IPython-dev] [IPython 5] [Docs] Custom Terminal Prompts

Thomas Kluyver takowl at gmail.com
Sat Jul 9 12:06:43 EDT 2016


On 9 July 2016 at 15:59, Carl Smith <carl.input at gmail.com> 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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/ipython-dev/attachments/20160709/3f2da9a4/attachment.html>


More information about the IPython-dev mailing list