We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c297e56 commit f60ba9fCopy full SHA for f60ba9f
cmd2/rl_utils.py
@@ -125,8 +125,7 @@ def pyreadline_remove_history_item(pos: int) -> None:
125
"which readline is not loaded dynamically from a shared library file.")
126
else:
127
rl_type = RlType.GNU
128
- if sys.stdout.isatty():
129
- vt100_support = True
+ vt100_support = sys.stdout.isatty()
130
131
# Check if readline was loaded
132
if rl_type == RlType.NONE: # pragma: no cover
0 commit comments