From fd765458823f25432f698d7e8b93d13d369be0ea Mon Sep 17 00:00:00 2001 From: Henrik Lissner Date: Fri, 21 Feb 2025 14:21:37 -0500 Subject: [PATCH] bump: :os benjaminor/kkp@ed9214329f11 -> benjaminor/kkp@ad23d961c3a5 purcell/ns-auto-titlebar@60273e764bf8 -> purcell/ns-auto-titlebar@1205ac67b76b Ref: benjaminor/kkp@4f7993a65729 Ref: benjaminor/kkp@dd85d46dbb7f --- modules/os/macos/packages.el | 2 +- modules/os/tty/config.el | 13 +------------ modules/os/tty/packages.el | 2 +- 3 files changed, 3 insertions(+), 14 deletions(-) diff --git a/modules/os/macos/packages.el b/modules/os/macos/packages.el index c64ade649..69bb9603a 100644 --- a/modules/os/macos/packages.el +++ b/modules/os/macos/packages.el @@ -3,4 +3,4 @@ (when (< emacs-major-version 29) (package! osx-trash :pin "90f0c99206022fec646206018fcd63d9d2e57325")) -(package! ns-auto-titlebar :pin "60273e764bf8d95abc40dd2fdc23af87ea9ee33b") +(package! ns-auto-titlebar :pin "1205ac67b76b58e9eb53d2115b85775533653a80") diff --git a/modules/os/tty/config.el b/modules/os/tty/config.el index 4337437ff..7671465be 100644 --- a/modules/os/tty/config.el +++ b/modules/os/tty/config.el @@ -48,22 +48,11 @@ (use-package! kkp :hook (after-init . global-kkp-mode) :config - ;; HACK: Emacs falls back to RET, TAB, and/or DEL if [return], [tab], and/or - ;; [backspace] are unbound, but this isn't the case for all input events, - ;; like these, which don't fall back to M-RET, M-TAB, etc. Therefore making - ;; these keybinds inaccessible in KKP supported terminals. - ;; REVIEW: See benjaminor/kkp#13. - (define-key! local-function-key-map - [M-return] (kbd "M-RET") - [M-tab] (kbd "M-TAB") - [M-backspace] (kbd "M-DEL") - [M-delete] (kbd "M-DEL")) - ;; HACK: Allow C-i to function independently of TAB in KKP-supported ;; terminals. Requires the `input-decode-map' entry in ;; lisp/doom-keybinds.el. (define-key! key-translation-map - [?\C-i] (cmd! (if-let* (((kkp--terminal-has-active-kkp-p)) + [?\C-i] (cmd! (if-let* (((kkp--this-terminal-has-active-kkp-p)) (keys (this-single-command-raw-keys)) ((> (length keys) 2)) ((equal (cl-subseq keys -3) [27 91 49]))) diff --git a/modules/os/tty/packages.el b/modules/os/tty/packages.el index 0e3c490b5..50065c164 100644 --- a/modules/os/tty/packages.el +++ b/modules/os/tty/packages.el @@ -12,4 +12,4 @@ ;; on evil (anymore). (package! evil-terminal-cursor-changer :pin "2358f3e27d89128361cf80fcfa092fdfe5b52fd8") -(package! kkp :pin "ed9214329f11b095fc7bad06feb329b9f232258d") +(package! kkp :pin "ad23d961c3a5dce83b1c9a6b4c65b48809c7af9a")