summaryrefslogtreecommitdiff
path: root/cmd2/history.py
diff options
context:
space:
mode:
authorxNinjaKittyx <sangbumahn@gmail.com>2019-06-24 17:54:15 -0700
committerxNinjaKittyx <sangbumahn@gmail.com>2019-06-24 17:54:15 -0700
commite8206628eefe8234cb5118807c6f40e983c2a316 (patch)
tree455fda269bf89e5a6195059083179b8b44d51754 /cmd2/history.py
parentbef07746e33da9def33d814913891384a545a95c (diff)
downloadcmd2-git-e8206628eefe8234cb5118807c6f40e983c2a316.tar.gz
Initial Commit for Issue 698
Diffstat (limited to 'cmd2/history.py')
-rw-r--r--cmd2/history.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/cmd2/history.py b/cmd2/history.py
index a61ab0d8..fa9edc45 100644
--- a/cmd2/history.py
+++ b/cmd2/history.py
@@ -16,8 +16,8 @@ from .parsing import Statement
@attr.s(frozen=True)
class HistoryItem():
"""Class used to represent one command in the History list"""
- _listformat = ' {:>4} {}\n'
- _ex_listformat = ' {:>4}x {}\n'
+ _listformat = ' {:>4} {}'
+ _ex_listformat = ' {:>4}x {}'
statement = attr.ib(default=None, validator=attr.validators.instance_of(Statement))
idx = attr.ib(default=None, validator=attr.validators.instance_of(int))