From 8b646b572834cba6e763280d6df89dad8ef78a53 Mon Sep 17 00:00:00 2001 From: Jarrod Johnson Date: Wed, 4 Nov 2026 11:29:07 -0500 Subject: [PATCH] Hide cursor during nodeconsole Especially since the video is now rendered under 'text', the cursor can be a bit weird looking --- confluent_client/bin/nodeconsole | 2 ++ 1 file changed, 2 insertions(+) diff --git a/confluent_client/bin/nodeconsole b/confluent_client/bin/nodeconsole index 5bc053d9..4034d177 100755 --- a/confluent_client/bin/nodeconsole +++ b/confluent_client/bin/nodeconsole @@ -236,6 +236,7 @@ async def watch_input(): sys.stdout.write('\x1b[?1000h') # Enable mouse click tracking sys.stdout.write('\x1b[?1003h') # Enable mouse movement tracking sys.stdout.write('\x1b[?1006h') # Enable SGR extended mode for mouse + sys.stdout.write('\x1b[?25l') # disable cursor # 1016 isn't as ubiquitous as the other mouse tracking modes, see if 1006 is good enough for now # Notably, Konsole seems to bug out and revert to ambiguous mouse release with 1016 sys.stdout.flush() @@ -1038,6 +1039,7 @@ def do_resize(nodelist, winch=False): sys.stdout.write('\x1b[?1000h') # Enable mouse click tracking sys.stdout.write('\x1b[?1003h') # Enable mouse movement tracking sys.stdout.write('\x1b[?1006h') # Enable SGR extended mode for mouse + sys.stdout.write('\x1b[?25l') # disable cursor global numrows global cwidth global cheight