Bug fix.
Fixed bug where newline / carriage return characters at the start of output strings would cause a weird text overflow when printed.
This commit is contained in:
parent
873a1078d6
commit
58f1b69ce0
|
@ -122,7 +122,7 @@ class CommandStreamReader(object):
|
||||||
continue
|
continue
|
||||||
|
|
||||||
if line != '':
|
if line != '':
|
||||||
info('{bright}[{yellow}' + self.target.address + '{crst}/{bgreen}' + self.tag + '{crst}]{rst} ' + line.replace('{', '{{').replace('}', '}}'), verbosity=3)
|
info('{bright}[{yellow}' + self.target.address + '{crst}/{bgreen}' + self.tag + '{crst}]{rst} ' + line.strip().replace('{', '{{').replace('}', '}}'), verbosity=3)
|
||||||
|
|
||||||
# Check lines for pattern matches.
|
# Check lines for pattern matches.
|
||||||
for p in self.patterns:
|
for p in self.patterns:
|
||||||
|
|
Loading…
Reference in New Issue