<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On 9 July 2016 at 15:59, Carl Smith <span dir="ltr"><<a href="mailto:carl.input@gmail.com" target="_blank">carl.input@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">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.</blockquote></div><br></div><div class="gmail_extra">In the absence of examples in the docs, the prompt classes in the code might be worth a look:<br><br><a href="https://github.com/ipython/ipython/blob/master/IPython/terminal/prompts.py">https://github.com/ipython/ipython/blob/master/IPython/terminal/prompts.py</a><br></div></div>