##// END OF EJS Templates
Use ansi code for soon-to-be released prompt_toolkit....
Matthias Bussonnier -
Show More
@@ -297,9 +297,9 b' class TerminalInteractiveShell(InteractiveShell):'
297 Token.Name.Class: 'bold #2080D0',
297 Token.Name.Class: 'bold #2080D0',
298 Token.Name.Namespace: 'bold #2080D0',
298 Token.Name.Namespace: 'bold #2080D0',
299 Token.Prompt: '#009900',
299 Token.Prompt: '#009900',
300 Token.PromptNum: '#00ff00 bold',
300 Token.PromptNum: '#ansibrightgreen bold',
301 Token.OutPrompt: '#990000',
301 Token.OutPrompt: '#990000',
302 Token.OutPromptNum: '#ff0000 bold',
302 Token.OutPromptNum: '#ansibrightred bold',
303 })
303 })
304
304
305 # Hack: Due to limited color support on the Windows console
305 # Hack: Due to limited color support on the Windows console
@@ -323,9 +323,9 b' class TerminalInteractiveShell(InteractiveShell):'
323 style_cls = name_or_cls
323 style_cls = name_or_cls
324 style_overrides = {
324 style_overrides = {
325 Token.Prompt: '#009900',
325 Token.Prompt: '#009900',
326 Token.PromptNum: '#00ff00 bold',
326 Token.PromptNum: '#ansibrightgreen bold',
327 Token.OutPrompt: '#990000',
327 Token.OutPrompt: '#990000',
328 Token.OutPromptNum: '#ff0000 bold',
328 Token.OutPromptNum: '#ansibrightred bold',
329 }
329 }
330 style_overrides.update(self.highlighting_style_overrides)
330 style_overrides.update(self.highlighting_style_overrides)
331 style = merge_styles([
331 style = merge_styles([
General Comments 0
You need to be logged in to leave comments. Login now