From 2334e679a9c7701b2cc1b53952dbe65381de175f Mon Sep 17 00:00:00 2001 From: Wez Furlong Date: Thu, 29 Jun 2023 07:59:41 -0700 Subject: [PATCH] launcher: add ctrl-j/k assignments refs: #3909 --- docs/changelog.md | 2 ++ wezterm-gui/src/overlay/launcher.rs | 4 ++-- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/docs/changelog.md b/docs/changelog.md index 62b53bbf9..2b3850d6d 100644 --- a/docs/changelog.md +++ b/docs/changelog.md @@ -37,6 +37,8 @@ As features stabilize some brief notes about them will accumulate here. terminal background color as a placeholder until the first frame has been decoded. In other circumstances, you may observe a brief black frame while waiting for the image to decode. +* You may now use CTRL-J/K to change the selection in the launcher menu, + in addition to CTRL-N/P which always worked previously. #3909 #### New diff --git a/wezterm-gui/src/overlay/launcher.rs b/wezterm-gui/src/overlay/launcher.rs index b43e0784a..804ae592f 100644 --- a/wezterm-gui/src/overlay/launcher.rs +++ b/wezterm-gui/src/overlay/launcher.rs @@ -480,13 +480,13 @@ impl LauncherState { self.move_up(); } InputEvent::Key(KeyEvent { - key: KeyCode::Char('P'), + key: KeyCode::Char('P' | 'K'), modifiers: Modifiers::CTRL, }) => { self.move_up(); } InputEvent::Key(KeyEvent { - key: KeyCode::Char('N'), + key: KeyCode::Char('N' | 'J'), modifiers: Modifiers::CTRL, }) => { self.move_down();