2
0
mirror of https://github.com/xcat2/confluent.git synced 2024-11-26 11:30:23 +00:00

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
This commit is contained in:
Jarrod Johnson 2020-10-23 15:32:16 -04:00
parent 7fcfc05205
commit 8b5744b7eb

View File

@ -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):