From 2f54077c3eec779faba42ff6658d548629b574c8 Mon Sep 17 00:00:00 2001 From: Henrik Lissner Date: Mon, 24 Mar 2025 00:55:29 -0400 Subject: [PATCH] perf(tty): move global-kkp-mode to tty-setup-hook It isn't needed in non-TTY sessions, so spare GUI users the startup cost. --- modules/os/tty/config.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/os/tty/config.el b/modules/os/tty/config.el index 7671465be..a19261416 100644 --- a/modules/os/tty/config.el +++ b/modules/os/tty/config.el @@ -46,7 +46,7 @@ ;; Add support for the Kitty keyboard protocol. (use-package! kkp - :hook (after-init . global-kkp-mode) + :hook (tty-setup . global-kkp-mode) :config ;; HACK: Allow C-i to function independently of TAB in KKP-supported ;; terminals. Requires the `input-decode-map' entry in