Re: [IPython 5] [Docs] Custom Terminal Prompts
Thomas Kluyver <[email protected]> Mon, 11 Jul 2016 13:00:43 +0100
| Newsgroups | gmane.comp.python.ipython.devel |
|---|---|
| Message-ID | <CAOvn4qi8y1MaJAxyet6Bh0X1_hzmQ7ANWb-g-evuPu+6MjHYsA@mail.gmail.com> |
On 11 July 2016 at 02:27, Carl Smith <[email protected]> wrote: > get_ipython().prompts = CustomPrompts(Shell()) > Don't instantiate a new shell - the value you get from get_ipython() is the active shell. So do this: ip = get_ipython() ip.prompts = CustomPrompts(ip) _______________________________________________ IPython-dev mailing list [email protected] https://mail.scipy.org/mailman/listinfo/ipython-dev