mirror of
https://github.com/xcat2/confluent.git
synced 2024-11-25 19:10:10 +00:00
Prune out backspaces
Some utilities backspace prior to printing anything, prevent such applications from encroaching on the node name space.
This commit is contained in:
parent
f4eec09a41
commit
3297667ef8
@ -162,6 +162,7 @@ def run():
|
||||
if options.nonodeprefix:
|
||||
sys.stdout.write(line)
|
||||
else:
|
||||
line = line.lstrip('\x08')
|
||||
sys.stdout.write('{0}: {1}'.format(node, line))
|
||||
sys.stdout.flush()
|
||||
if all:
|
||||
|
Loading…
Reference in New Issue
Block a user