diff options
-rw-r--r-- | CHANGELOG.md | 4 | ||||
-rw-r--r-- | cmd2/cmd2.py | 2 |
2 files changed, 5 insertions, 1 deletions
diff --git a/CHANGELOG.md b/CHANGELOG.md index af4dc826..dd91f9aa 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,7 @@ +## 1.4.0 (TBD XX, 2020) +* Bug Fixes + * Fixed tab completion crash on Windows + ## 1.3.11 (October 1, 2020) * Bug Fixes * Fixed issue where quoted redirectors and terminators in aliases and macros were not being diff --git a/cmd2/cmd2.py b/cmd2/cmd2.py index ea4e01de..8e23eca0 100644 --- a/cmd2/cmd2.py +++ b/cmd2/cmd2.py @@ -1590,7 +1590,7 @@ class Cmd(cmd.Cmd): matches_to_display, _ = self._pad_matches_to_display(matches_to_display) # Print any metadata like a hint or table header - readline.rl.mode.console.write(sys.stdout.write(self._build_completion_metadata_string())) + readline.rl.mode.console.write(self._build_completion_metadata_string()) # Display matches using actual display function. This also redraws the prompt and line. orig_pyreadline_display(matches_to_display) |