diff options
author | kotfu <kotfu@kotfu.net> | 2018-04-23 22:55:24 -0600 |
---|---|---|
committer | kotfu <kotfu@kotfu.net> | 2018-04-23 22:55:24 -0600 |
commit | 3441d1e5abcd95ff9100905a9184400d590c600d (patch) | |
tree | 37481ca9122980155f062af96f23a7343137ce12 /cmd2/cmd2.py | |
parent | c378b1da3c1533f538ae616e550dd4ffd270d85f (diff) | |
download | cmd2-git-3441d1e5abcd95ff9100905a9184400d590c600d.tar.gz |
Multiline now working
Diffstat (limited to 'cmd2/cmd2.py')
-rwxr-xr-x | cmd2/cmd2.py | 4 |
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: |