2
0
mirror of https://github.com/xcat2/confluent.git synced 2026-11-20 17:32:21 +00:00

Fix terminal state on nodeconsole exit

This commit is contained in:
Jarrod Johnson
2026-11-02 09:13:38 -05:00
parent 050936e6f4
commit 0ece84bec6
+1
View File
@@ -219,6 +219,7 @@ def clean_exit():
sys.stdout.write('\x1b[?1003l') # Disable mouse movement tracking
sys.stdout.write('\x1b[?1000l') # Disable mouse click tracking
sys.stdout.flush()
indirect_console()
if inhandler:
# consume pending mouse actions rather than inflicting them on the prompt
inhandler.drain_input()