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.
This commit is contained in:
2026-05-16 18:08:30 -04:00
parent 5444322bf9
commit aca3f9e314

View File

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