summaryrefslogtreecommitdiff
path: root/cmd2/cmd2.py
diff options
context:
space:
mode:
authorKevin Van Brunt <kmvanbrunt@gmail.com>2019-07-17 17:29:38 -0400
committerKevin Van Brunt <kmvanbrunt@gmail.com>2019-07-17 17:29:38 -0400
commitd745c773cbb1a135cc30875736ef21cc629f3985 (patch)
tree9309e03b835390b5e68a7217dbd42993c9f41d7f /cmd2/cmd2.py
parentb0116dce61dc12207fa96c6a53d05d2301a9fe7a (diff)
parentab5a11c4e355248545c392682f378d2652ecf999 (diff)
downloadcmd2-git-d745c773cbb1a135cc30875736ef21cc629f3985.tar.gz
Merge branch 'master' into multi-completion
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 7a9245ab..2bec27d1 100644
--- a/cmd2/cmd2.py
+++ b/cmd2/cmd2.py
@@ -2221,7 +2221,7 @@ class Cmd(cmd.Cmd):
else:
line = 'eof'
- return line.strip()
+ return line.rstrip('\r\n')
def _cmdloop(self) -> None:
"""Repeatedly issue a prompt, accept input, parse an initial prefix