summaryrefslogtreecommitdiff
path: root/cmd2/cmd2.py
diff options
context:
space:
mode:
Diffstat (limited to 'cmd2/cmd2.py')
-rw-r--r--cmd2/cmd2.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/cmd2/cmd2.py b/cmd2/cmd2.py
index caeb4ab0..0bb4921e 100644
--- a/cmd2/cmd2.py
+++ b/cmd2/cmd2.py
@@ -1429,6 +1429,7 @@ class Cmd(cmd.Cmd):
# Insert a newline so the exception doesn't print in the middle of the command line being tab completed
self.perror()
self.pexcept(e)
+ rl_force_redisplay()
return None
def _autocomplete_default(self, text: str, line: str, begidx: int, endidx: int, *,