summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKevin Van Brunt <kmvanbrunt@gmail.com>2019-07-01 01:22:03 -0400
committerKevin Van Brunt <kmvanbrunt@gmail.com>2019-07-01 01:22:03 -0400
commitef3eb96e99d0a04a2034f7815ed4bbc6d3838a42 (patch)
tree9afcdb8f794674a3365e23b1a32eda8104f5132e
parent031f2626e63708e4a7334826167a97d56fa29fdb (diff)
downloadcmd2-git-ef3eb96e99d0a04a2034f7815ed4bbc6d3838a42.tar.gz
Whitespace and doc fixes
-rw-r--r--cmd2/rl_utils.py2
-rwxr-xr-xexamples/async_printing.py2
-rw-r--r--tests/test_ansi.py2
3 files changed, 3 insertions, 3 deletions
diff --git a/cmd2/rl_utils.py b/cmd2/rl_utils.py
index b5ba8e4a..7f47db79 100644
--- a/cmd2/rl_utils.py
+++ b/cmd2/rl_utils.py
@@ -58,7 +58,7 @@ if 'pyreadline' in sys.modules:
retVal = False
- # Check if ENABLE_VIRTUAL_TERMINAL_PROCESSING is already enabled
+ # Check if ENABLE_VIRTUAL_TERMINAL_PROCESSING is already enabled
if (cur_mode.value & ENABLE_VIRTUAL_TERMINAL_PROCESSING) != 0:
retVal = True
diff --git a/examples/async_printing.py b/examples/async_printing.py
index a9b20408..dd46c75f 100755
--- a/examples/async_printing.py
+++ b/examples/async_printing.py
@@ -19,7 +19,7 @@ ALERTS = ["Watch as this application prints alerts and updates the prompt",
"Keep typing...",
"Move that cursor...",
"Pretty seamless, eh?",
- "Feedback can also be given in the window title. Notice the arg count up there?",
+ "Feedback can also be given in the window title. Notice the alert count up there?",
"You can stop and start the alerts by typing stop_alerts and start_alerts",
"This demo will now continue to print alerts at random intervals"
]
diff --git a/tests/test_ansi.py b/tests/test_ansi.py
index 75e5ba35..056bb2db 100644
--- a/tests/test_ansi.py
+++ b/tests/test_ansi.py
@@ -109,4 +109,4 @@ def test_set_title_str():
def test_async_alert_str(cols, prompt, line, cursor, msg, expected):
alert_str = ansi.async_alert_str(terminal_columns=cols, prompt=prompt, line=line, cursor_offset=cursor,
alert_msg=msg)
- assert alert_str == expected
+ assert alert_str == expected