##// END OF EJS Templates
Disable continuation prompts to work with stable release of prompt_toolkit
Thomas Kluyver -
Show More
@@ -146,7 +146,9 b' class PTInteractiveShell(InteractiveShell):'
146 app = create_prompt_application(multiline=True,
146 app = create_prompt_application(multiline=True,
147 lexer=PygmentsLexer(Python3Lexer if PY3 else PythonLexer),
147 lexer=PygmentsLexer(Python3Lexer if PY3 else PythonLexer),
148 get_prompt_tokens=self.get_prompt_tokens,
148 get_prompt_tokens=self.get_prompt_tokens,
149 get_continuation_tokens=self.get_continuation_tokens,
149 # The line below is waiting for a new release of
150 # prompt_toolkit (> 0.57)
151 #get_continuation_tokens=self.get_continuation_tokens,
150 key_bindings_registry=kbmanager.registry,
152 key_bindings_registry=kbmanager.registry,
151 history=history,
153 history=history,
152 completer=IPythonPTCompleter(self.Completer),
154 completer=IPythonPTCompleter(self.Completer),
General Comments 0
You need to be logged in to leave comments. Login now