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:
@@ -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 ()
|
||||
|
||||
Reference in New Issue
Block a user