diff --git a/IPython/terminal/ptshell.py b/IPython/terminal/ptshell.py index c451846..f19bf00 100644 --- a/IPython/terminal/ptshell.py +++ b/IPython/terminal/ptshell.py @@ -134,6 +134,11 @@ class TerminalInteractiveShell(InteractiveShell): term_title = Bool(True, config=True, help="Automatically set the terminal title" ) + + display_completions_in_columns = Bool(False, config=True, + help="Display a multi column completion menu.", + ) + def _term_title_changed(self, name, new_value): self.init_term_title() @@ -289,9 +294,9 @@ class TerminalInteractiveShell(InteractiveShell): 'get_prompt_tokens':self.get_prompt_tokens, 'get_continuation_tokens':self.get_continuation_tokens, 'multiline':True, + 'display_completions_in_columns': self.display_completions_in_columns, } - def _update_layout(self): """ Ask for a re computation of the application layout, if for example ,