launcher: allow ctrl-[ to close launcher menu

refs: https://github.com/wez/wezterm/issues/4722
This commit is contained in:
Wez Furlong committed 2024-01-27 09:01:33 -07:00
1 parent 178f35a496
commit 2a8bdfa603
2 files changed
+2 -1

No files matched your search

+1
View File
@@ -118,6 +118,7 @@ As features stabilize some brief notes about them will accumulate here.
[freetype_render_target](config/lua/config/freetype_render_target.md) can now
be set to `VerticalLcd` for vertically decimated LCD displays. Thanks to
@xiaopengli89! #4426
* Pressing `CTRL-[` in the launcher menu will close it. #4722
#### Fixed
* Command Palette was using now-invalid Nerd Font 2.0 symbols for macOS
+1 -1
View File
@@ -509,7 +509,7 @@ impl LauncherState {
self.update_filter();
}
InputEvent::Key(KeyEvent {
key: KeyCode::Char('G'),
key: KeyCode::Char('G') | KeyCode::Char('['),
modifiers: Modifiers::CTRL,
})
| InputEvent::Key(KeyEvent {