summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTodd Leonhardt <todd.leonhardt@gmail.com>2020-11-11 19:34:12 -0500
committerGitHub <noreply@github.com>2020-11-11 19:34:12 -0500
commit86d0e9c788ae88738e37242ad8d4c1047b443266 (patch)
tree60a304ac442574202ff08406cf0a432afe2e393e
parentc77c240ce02c81973b57da322082da51b9bc08d2 (diff)
parent887bda494c53d6f7457bb70fbbd20b5daf09125f (diff)
downloadcmd2-git-86d0e9c788ae88738e37242ad8d4c1047b443266.tar.gz
Merge branch 'master' into docstr_fmt
-rw-r--r--CHANGELOG.md4
-rw-r--r--cmd2/cmd2.py2
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 f7d1fc2a..c8f5a9bd 100644
--- a/cmd2/cmd2.py
+++ b/cmd2/cmd2.py
@@ -1591,7 +1591,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)