command-out truncation logic should be referencing sent_line

This commit is contained in:
jesopo 2019-06-10 11:21:41 +01:00
parent ece23efec0
commit 53907b57d7

View file

@ -45,9 +45,9 @@ class Out(object):
sent_line = self.server.send(line)
if sent_line:
line.truncate_marker = STR_MORE
if line.truncated():
self._text = "%s%s" % (STR_CONTINUED, line.truncated())
sent_line.truncate_marker = STR_MORE
if sent_line.truncated():
self._text = "%s%s" % (STR_CONTINUED, sent_line.truncated())
else:
self._text = ""