diff --git a/IPython/terminal/ptshell.py b/IPython/terminal/ptshell.py index 1d15825..4ad7047 100644 --- a/IPython/terminal/ptshell.py +++ b/IPython/terminal/ptshell.py @@ -154,9 +154,7 @@ class TerminalInteractiveShell(InteractiveShell): app = create_prompt_application(multiline=True, lexer=PygmentsLexer(Python3Lexer if PY3 else PythonLexer), get_prompt_tokens=self.get_prompt_tokens, - # The line below is waiting for a new release of - # prompt_toolkit (> 0.57) - #get_continuation_tokens=self.get_continuation_tokens, + get_continuation_tokens=self.get_continuation_tokens, key_bindings_registry=kbmanager.registry, history=history, completer=IPythonPTCompleter(self.Completer), diff --git a/setup.py b/setup.py index 51ba317..7387f62 100755 --- a/setup.py +++ b/setup.py @@ -195,7 +195,7 @@ install_requires = [ 'pickleshare', 'simplegeneric>0.8', 'traitlets', - 'prompt_toolkit', # We will require > 0.57 once a new release is made + 'prompt_toolkit>=0.58', ] # Platform-specific dependencies: