From dec34850717ba921d05560cd272da5ca657339a2 Mon Sep 17 00:00:00 2001 From: jesopo Date: Fri, 22 Feb 2019 17:47:25 +0000 Subject: Clear command Out text when there's nothing left to send --- modules/commands/outs.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/modules/commands/outs.py b/modules/commands/outs.py index 7120227f..e82537af 100644 --- a/modules/commands/outs.py +++ b/modules/commands/outs.py @@ -43,6 +43,8 @@ class Out(object): if line.truncated(): line.end_replace(STR_MORE) self._text = "%s%s" % (STR_CONTINUED, line.truncated()) + else: + self._text = "" def set_prefix(self, prefix): self.module_name = prefix -- cgit v1.3.1-10-gc9f91