From ef3eb96e99d0a04a2034f7815ed4bbc6d3838a42 Mon Sep 17 00:00:00 2001 From: Kevin Van Brunt Date: Mon, 1 Jul 2019 01:22:03 -0400 Subject: Whitespace and doc fixes --- cmd2/rl_utils.py | 2 +- examples/async_printing.py | 2 +- tests/test_ansi.py | 2 +- 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 -- cgit v1.2.1