From aca3f9e314a6db5358959169b139f59ce5f9db60 Mon Sep 17 00:00:00 2001 From: Amr Gharbeia Date: Sat, 16 May 2026 18:08:30 -0400 Subject: [PATCH] fix: draw cursor immediately in redraw (not 100ms later) position-cursor now called at end of redraw so the cursor appears on the very first frame and after every keypress without a 100ms delay. Also still called from main loop between sleep for blinking. --- org/channel-tui-view.org | 1 + 1 file changed, 1 insertion(+) diff --git a/org/channel-tui-view.org b/org/channel-tui-view.org index f22206d..9a6ae1a 100644 --- a/org/channel-tui-view.org +++ b/org/channel-tui-view.org @@ -325,6 +325,7 @@ Returns a list of strings, one per line." (when (sidebar-visible-p w) (view-sidebar fb w h)) (cl-tty.backend:end-sync fb) + (position-cursor fb w h) (setf (st :dirty) (list nil nil nil)))) (defun cursor-visible-p ()