A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://github.com/ipython/ipython/issues/1963/ below:

styling prompt, {color.Normal} excepts · Issue #1963 · ipython/ipython · GitHub

version: ipython 0.12

With my prompt set to:
c.PromptManager.in_template = '{color.LightGreen} \T {color.Normal}\Y2 {color.LightGreen}\$'
I get an AttributeError: NoColors instance has no attribute 'Normal'

But I checked:

>>> from IPython.utils.coloransi import InputTermColors
>>> InputTermColors.Normal  # color has Normal, which is supposed to reset
'\x01\x1b[0m\x02'

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4