2
0
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:
Jarrod Johnson 2021-05-25 14:26:49 -04:00
parent d250a3e850
commit 66372bea0c

View File

@ -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...")