launcher: add ctrl-j/k assignments

refs: #3909
This commit is contained in:
Wez Furlong committed 2023-06-29 07:59:41 -07:00
1 parent e61123c280
commit 2334e679a9
2 files changed
+4 -2

No files matched your search

+2
View File
@@ -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
+2 -2
View File
@@ -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();