command-out truncation logic should be referencing sent_line
This commit is contained in:
parent
ece23efec0
commit
53907b57d7
1 changed files with 3 additions and 3 deletions
|
@ -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 = ""
|
||||
|
||||
|
|
Loading…
Reference in a new issue