diff options
Diffstat (limited to 'cmd2/cmd2.py')
-rw-r--r-- | cmd2/cmd2.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd2/cmd2.py b/cmd2/cmd2.py index 49273b51..60d5463a 100644 --- a/cmd2/cmd2.py +++ b/cmd2/cmd2.py @@ -1420,7 +1420,7 @@ class Cmd(cmd.Cmd): err_str = str(e) if err_str: # Don't print error and redraw the prompt unless the error has length - ansi.style_aware_write(sys.stdout, err_str + '\n') + ansi.style_aware_write(sys.stdout, '\n' + err_str + '\n') rl_force_redisplay() return None except Exception as e: |