From 8b5744b7eb01060019b6fbe4d658d768a9eab71f Mon Sep 17 00:00:00 2001 From: Jarrod Johnson Date: Fri, 23 Oct 2020 15:32:16 -0400 Subject: [PATCH] Drop attempts to restore cursor key mode It would corrupt F1 setup menu. This may cause problems for ESXi TUI, but F1 in UEFI is more commonly on serial --- confluent_server/confluent/consoleserver.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/confluent_server/confluent/consoleserver.py b/confluent_server/confluent/consoleserver.py index 67ebc4c8..29eed0f5 100644 --- a/confluent_server/confluent/consoleserver.py +++ b/confluent_server/confluent/consoleserver.py @@ -609,10 +609,10 @@ class ConsoleHandler(object): if self.shiftin is not None: # detected that terminal requested a # shiftin character set, relay that to the terminal that cannected retdata += b'\x1b)' + self.shiftin - if self.appmodedetected: - retdata += b'\x1b[?1h' - else: - retdata += b'\x1b[?1l' + #if self.appmodedetected: + # retdata += b'\x1b[?1h' + #else: + # retdata += b'\x1b[?1l' return retdata, connstate def write(self, data):