##// END OF EJS Templates
Pick default prompt colors form already existing Tokens if possible....
Matthias Bussonnier -
Show More
@@ -252,8 +252,8 b' class TerminalInteractiveShell(InteractiveShell):'
252 """
252 """
253 style_cls = get_style_by_name(name)
253 style_cls = get_style_by_name(name)
254 style_overrides = {
254 style_overrides = {
255 Token.Prompt: '#009900',
255 Token.Prompt: style_cls.styles.get( Token.Keyword, '#009900'),
256 Token.PromptNum: '#00ff00 bold',
256 Token.PromptNum: style_cls.styles.get( Token.Literal.Number, '#00ff00 bold')
257 }
257 }
258 if name is 'default':
258 if name is 'default':
259 style_cls = get_style_by_name('default')
259 style_cls = get_style_by_name('default')
General Comments 0
You need to be logged in to leave comments. Login now