From cf59eedd9cb88330dedf6b54c8f2244990eb5fe1 Mon Sep 17 00:00:00 2001 From: Henrik Lissner Date: Fri, 24 Apr 2026 18:16:25 -0400 Subject: [PATCH] fix(dashboard): hide cursor if no buttons --- modules/ui/dashboard/config.el | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/modules/ui/dashboard/config.el b/modules/ui/dashboard/config.el index c6b8fa507..5f19f70a7 100644 --- a/modules/ui/dashboard/config.el +++ b/modules/ui/dashboard/config.el @@ -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.