diff options
author | Todd Leonhardt <todd.leonhardt@gmail.com> | 2019-06-24 23:20:45 -0400 |
---|---|---|
committer | Todd Leonhardt <todd.leonhardt@gmail.com> | 2019-06-24 23:20:45 -0400 |
commit | d409cc5228e4f8591c31e6359de72ebe1a361b48 (patch) | |
tree | aa8891796820aef07b37b59909cc7e6a7786b4cf /cmd2 | |
parent | ba2a9ae6aef048160fa7e183cb5fa5bc6bd87d7b (diff) | |
download | cmd2-git-d409cc5228e4f8591c31e6359de72ebe1a361b48.tar.gz |
Fix verbose history tests and behavior
Diffstat (limited to 'cmd2')
-rw-r--r-- | cmd2/history.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd2/history.py b/cmd2/history.py index fa9edc45..da16285d 100644 --- a/cmd2/history.py +++ b/cmd2/history.py @@ -46,7 +46,7 @@ class HistoryItem(): if verbose: ret_str = self._listformat.format(self.idx, self.raw.rstrip()) if self.raw != self.expanded.rstrip(): - ret_str += self._ex_listformat.format(self.idx, self.expanded.rstrip()) + ret_str += '\n' + self._ex_listformat.format(self.idx, self.expanded.rstrip()) else: if expanded: ret_str = self.expanded.rstrip() |