summaryrefslogtreecommitdiff
path: root/cmd2/cmd2.py
diff options
context:
space:
mode:
Diffstat (limited to 'cmd2/cmd2.py')
-rw-r--r--cmd2/cmd2.py2
1 files changed, 1 insertions, 1 deletions
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)