From f90f1c212eeb9effdf5908fc2a0360980382588f Mon Sep 17 00:00:00 2001 From: Henrik Lissner Date: Fri, 23 Aug 2024 17:23:43 -0400 Subject: [PATCH] refactor(tty): noop evil-terminal-cursor-changer if disabled --- modules/os/tty/config.el | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/modules/os/tty/config.el b/modules/os/tty/config.el index 8e4f0707f..93cbc1a4f 100644 --- a/modules/os/tty/config.el +++ b/modules/os/tty/config.el @@ -41,7 +41,8 @@ ;; http://www.culater.net/software/SIMBL/SIMBL.php and ;; https://github.com/saitoha/mouseterm-plus/releases. That makes to support ;; VT's DECSCUSR sequence. -(add-hook 'tty-setup-hook #'evil-terminal-cursor-changer-activate) +(use-package! evil-terminal-cursor-changer + :hook (tty-setup . evil-terminal-cursor-changer-activate)) ;; Add support for the Kitty keyboard protocol. (use-package! kkp