-
-
Notifications
You must be signed in to change notification settings - Fork 4.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
styling prompt, {color.Normal} excepts #1963
Comments
try color.normal (lowercase) |
yup, that works! thanks. :-) |
There's a table of things you can include here, but it doesn't include colours: http://wiki.ipython.org/Cookbook/Dynamic_Prompt If you want to help us get this into the documentation, that would be great. |
Unfortunately, at the moment the source is the docs. |
but why exactly is it that |
Indeed, that's just a tiny omission in NoColors. Since it's so small, I will add it to #1962 |
Check out #1962 - your prompt works correctly for me with that branch. |
thanks. and I've added ipython color prompt info to the wiki. |
Support unicode prompts fixes potential issues when cwd/USER/HOME might have been unicode. closes ipython#1961 closes ipython#1963
Support unicode prompts fixes potential issues when cwd/USER/HOME might have been unicode. closes ipython#1961 closes ipython#1963
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:
The text was updated successfully, but these errors were encountered: