fix(dashboard): hide cursor if no buttons

This commit is contained in:
Henrik Lissner 2026-04-24 18:16:25 -04:00
parent 3baa406d65
commit cf59eedd9c
No known key found for this signature in database
GPG key ID: B60957CA074D39A3

View file

@ -275,7 +275,10 @@ dashboard reloading is inhibited.")
(backward-button 1)))
(ignore-errors
(goto-char (point-min))
(forward-button 1))))
(forward-button 1)))
(unless (button-at (point))
(setq-local cursor-type nil
evil-normal-state-cursor nil)))
(defun +dashboard-reload-maybe-h (&rest _)
"Reload the dashboard or its state.