##// END OF EJS Templates
Config option to enable mouse support
Thomas Kluyver -
Show More
@@ -54,6 +54,10 b' class PTInteractiveShell(InteractiveShell):'
54 help="Use vi style keybindings at the prompt",
54 help="Use vi style keybindings at the prompt",
55 )
55 )
56
56
57 mouse_support = Bool(False, config=True,
58 help="Enable mouse support in the prompt"
59 )
60
57 highlighting_style = Unicode('', config=True,
61 highlighting_style = Unicode('', config=True,
58 help="The name of a Pygments style to use for syntax highlighting"
62 help="The name of a Pygments style to use for syntax highlighting"
59 )
63 )
@@ -148,6 +152,7 b' class PTInteractiveShell(InteractiveShell):'
148 completer=IPythonPTCompleter(self.Completer),
152 completer=IPythonPTCompleter(self.Completer),
149 enable_history_search=True,
153 enable_history_search=True,
150 style=style,
154 style=style,
155 mouse_support=self.mouse_support,
151 )
156 )
152
157
153 self.pt_cli = CommandLineInterface(app,
158 self.pt_cli = CommandLineInterface(app,
General Comments 0
You need to be logged in to leave comments. Login now