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:
Tib3rius 2022-01-12 00:05:26 -05:00
parent 873a1078d6
commit 58f1b69ce0
1 changed files with 1 additions and 1 deletions

View File

@ -122,7 +122,7 @@ class CommandStreamReader(object):
continue
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.
for p in self.patterns: