Open thorstenkampe opened 8 years ago
Thanks for reporting! This doesn't work indeed.
Looking at: https://github.com/jonathanslenders/ptpython/blob/master/ptpython/prompt_style.py#L47
it should be Token.In
or Token.Prompt
. However, there's still a bit more work to be done to create nice color schemes. The explanation in the example is not enough.
Hi, I think this is the most relevant thread but it could be a different issue; I'd like to customize exception handling color styles too. Currently it's set to style_from_pygments(DefaultStyle)
and unfortunately it is unreadable with solarized theme on putty (https://github.com/altercation/solarized/tree/master/putty-colors-solarized). I've been using cli.application.style
as a workaround but it would be nice to have a real solution.
When I change the prompt color by using this:
repl.install_ui_colorscheme('my-colorscheme', Style.from_dict(_custom_ui_colorscheme))
repl.use_ui_colorscheme('my-colorscheme')
_custom_ui_colorscheme = {
"in": "bold #00c400",
}
The statusbar parts also changes color. Is this intended? I want to change the color of only the prompt to make it brighter. Is there any way to achieve this other than copy-pasting all of the default colors?
The problem:
I'd like to set the color of the prompt to cyan (instead of green) in PtIPython. The suggestion from the examples doesn't work:
I'm using ConEmu on Windows and latest IPython/ptpython.