From 66372bea0cf731d9195744a2ec1ac8876e219dc0 Mon Sep 17 00:00:00 2001 From: Jarrod Johnson Date: Tue, 25 May 2021 14:26:49 -0400 Subject: [PATCH] Fix hang on ctrl-e,c,p,o Leave the function to consume termdata if data is available. --- confluent_client/bin/confetty | 1 - 1 file changed, 1 deletion(-) diff --git a/confluent_client/bin/confetty b/confluent_client/bin/confetty index 2388f2ed..fec114c7 100755 --- a/confluent_client/bin/confetty +++ b/confluent_client/bin/confetty @@ -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...")