##// END OF EJS Templates
Re-enable continuation prompts...
Thomas Kluyver -
Show More
@@ -154,9 +154,7 b' class TerminalInteractiveShell(InteractiveShell):'
154 app = create_prompt_application(multiline=True,
154 app = create_prompt_application(multiline=True,
155 lexer=PygmentsLexer(Python3Lexer if PY3 else PythonLexer),
155 lexer=PygmentsLexer(Python3Lexer if PY3 else PythonLexer),
156 get_prompt_tokens=self.get_prompt_tokens,
156 get_prompt_tokens=self.get_prompt_tokens,
157 # The line below is waiting for a new release of
157 get_continuation_tokens=self.get_continuation_tokens,
158 # prompt_toolkit (> 0.57)
159 #get_continuation_tokens=self.get_continuation_tokens,
160 key_bindings_registry=kbmanager.registry,
158 key_bindings_registry=kbmanager.registry,
161 history=history,
159 history=history,
162 completer=IPythonPTCompleter(self.Completer),
160 completer=IPythonPTCompleter(self.Completer),
@@ -195,7 +195,7 b' install_requires = ['
195 'pickleshare',
195 'pickleshare',
196 'simplegeneric>0.8',
196 'simplegeneric>0.8',
197 'traitlets',
197 'traitlets',
198 'prompt_toolkit', # We will require > 0.57 once a new release is made
198 'prompt_toolkit>=0.58',
199 ]
199 ]
200
200
201 # Platform-specific dependencies:
201 # Platform-specific dependencies:
General Comments 0
You need to be logged in to leave comments. Login now