summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--cmd2/cmd2.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd2/cmd2.py b/cmd2/cmd2.py
index a10219b1..351af91d 100644
--- a/cmd2/cmd2.py
+++ b/cmd2/cmd2.py
@@ -3183,7 +3183,7 @@ class Cmd(cmd.Cmd):
readline.set_completion_display_matches_hook(None)
elif rl_type == RlType.PYREADLINE:
# noinspection PyUnresolvedReferences
- readline.rl.mode._display_completions = self._display_matches_pyreadline
+ readline.rl.mode._display_completions = orig_pyreadline_display
# Save off the current completer and set a new one in the Python console
# Make sure it tab completes from its locals() dictionary