summaryrefslogtreecommitdiff
path: root/cmd2/cmd2.py
diff options
context:
space:
mode:
authorkotfu <kotfu@kotfu.net>2018-04-23 22:55:24 -0600
committerkotfu <kotfu@kotfu.net>2018-04-23 22:55:24 -0600
commit3441d1e5abcd95ff9100905a9184400d590c600d (patch)
tree37481ca9122980155f062af96f23a7343137ce12 /cmd2/cmd2.py
parentc378b1da3c1533f538ae616e550dd4ffd270d85f (diff)
downloadcmd2-git-3441d1e5abcd95ff9100905a9184400d590c600d.tar.gz
Multiline now working
Diffstat (limited to 'cmd2/cmd2.py')
-rwxr-xr-xcmd2/cmd2.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/cmd2/cmd2.py b/cmd2/cmd2.py
index b4c1dbf6..7b01a653 100755
--- a/cmd2/cmd2.py
+++ b/cmd2/cmd2.py
@@ -2198,7 +2198,7 @@ class Cmd(cmd.Cmd):
# terminator
newline = '\n'
self.poutput(newline)
- line = '{}\n{}\n'.format(statement.raw, newline)
+ line = '{}\n{}'.format(statement.raw, newline)
except KeyboardInterrupt:
self.poutput('^C')
statement = self.command_parser.parseString('')
@@ -2212,7 +2212,7 @@ class Cmd(cmd.Cmd):
# terminator
newline = '\n'
self.poutput(newline)
- line = '{}\n{}\n'.format(statement.raw, newline)
+ line = '{}\n{}'.format(statement.raw, newline)
statement = self.command_parser.parseString(line)
if not statement.command: