mirror of
https://github.com/xcat2/confluent.git
synced 2025-01-12 10:49:17 +00:00
Fix hang on ctrl-e,c,p,o
Leave the function to consume termdata if data is available.
This commit is contained in:
parent
d250a3e850
commit
66372bea0c
@ -722,7 +722,6 @@ def conserver_command(filehandle, localcommand):
|
||||
if localcommand[1] == 'o': # off
|
||||
sys.stdout.write("powering off...")
|
||||
sys.stdout.flush()
|
||||
consume_termdata(session.connection)
|
||||
run_inline_command('/power/state', 'off', 'complete]')
|
||||
elif localcommand[1] == 's': # shutdown
|
||||
sys.stdout.write("shutting down...")
|
||||
|
Loading…
x
Reference in New Issue
Block a user