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

Fernando Perez <[email protected]> Sun, 10 Jul 2016 16:01:08 -0700
Newsgroups gmane.comp.python.ipython.devel
Message-ID <CAHAreOoKYeSOGsbYb750wd6g2i3xtYvtamh7wam4sxGDv1DMzw@mail.gmail.com>
BTW, Carl, if you come up with a nice example that works for you, a small
PR contribution to the docs would be greatly appreciated, so it helps
others in the future!

Cheers

f

On Sat, Jul 9, 2016 at 12:30 PM, Carl Smith <[email protected]> wrote:

> Thanks Thomas. Appreciated.
>
> On Sat, 9 Jul 2016 17:07 Thomas Kluyver, <[email protected]> wrote:
>
>> 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
>>
>
> _______________________________________________
> IPython-dev mailing list
> [email protected]
> https://mail.scipy.org/mailman/listinfo/ipython-dev
>
>


-- 
Fernando Perez (@fperez_org; http://fperez.org)
fperez.net-at-gmail: mailing lists only (I ignore this when swamped!)
fernando.perez-at-berkeley: contact me here for any direct mail

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