Skip to content

Commit 6a3dbec

Browse files
committed
Updated warning message
1 parent ccc92a2 commit 6a3dbec

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

cmd2/cmd2.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -57,10 +57,10 @@
5757
# Set up readline
5858
from .rl_utils import rl_type, RlType
5959
if rl_type == RlType.NONE:
60-
rl_err_msg = "Readline features including tab completion and history have been disabled since no \n" \
61-
"supported version of readline was found. To resolve this, install pyreadline on \n" \
62-
"Windows or gnureadline on Mac.\n\n"
63-
sys.stderr.write(Fore.LIGHTYELLOW_EX + rl_err_msg + Fore.RESET)
60+
rl_warning = "Readline features including tab completion have been disabled since no \n" \
61+
"supported version of readline was found. To resolve this, install \n" \
62+
"pyreadline on Windows or gnureadline on Mac.\n\n"
63+
sys.stderr.write(Fore.LIGHTYELLOW_EX + rl_warning + Fore.RESET)
6464
else:
6565
from .rl_utils import rl_force_redisplay, readline
6666

0 commit comments

Comments
 (0)