diff options
author | Todd Leonhardt <todd.leonhardt@gmail.com> | 2020-06-02 15:05:27 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-06-02 15:05:27 -0400 |
commit | f626f8674c3bdf40c3c96f7009f01cf2d5315a7a (patch) | |
tree | 2b3285371fa2edebb10045f32bdf0c1e9b1b8202 /cmd2/cmd2.py | |
parent | 8d9405a1fcc2169aa039172a8e2891b839a59e6c (diff) | |
parent | 52e70d09ac2c365b77ac00a8689913251f713f67 (diff) | |
download | cmd2-git-f626f8674c3bdf40c3c96f7009f01cf2d5315a7a.tar.gz |
Merge pull request #941 from python-cmd2/hint_bug
Hint bug
Diffstat (limited to 'cmd2/cmd2.py')
-rw-r--r-- | cmd2/cmd2.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cmd2/cmd2.py b/cmd2/cmd2.py index 73f7aa79..65047cc8 100644 --- a/cmd2/cmd2.py +++ b/cmd2/cmd2.py @@ -1147,7 +1147,7 @@ class Cmd(cmd.Cmd): # Print the header if one exists if self.completion_header: - sys.stdout.write('\n' + self.completion_header) + sys.stdout.write('\n\n' + self.completion_header) # Call readline's display function # rl_display_match_list(strings_array, number of completion matches, longest match length) @@ -1176,7 +1176,7 @@ class Cmd(cmd.Cmd): # Print the header if one exists if self.completion_header: # noinspection PyUnresolvedReferences - readline.rl.mode.console.write('\n' + self.completion_header) + readline.rl.mode.console.write('\n\n' + self.completion_header) # Display matches using actual display function. This also redraws the prompt and line. orig_pyreadline_display(matches_to_display) |