Files
oak-gpui/crates
Dov AlperinandConrad Irwin 0b1a589183 keymap: Allow modifiers as keys (#12047)
It is sometimes desirable to allow modifers to serve as keys themselves
for the purposes of keybinds. For example, the popular keybind in
jetbrains IDEs `shift shift` which opens the file finder.

This change treats modifers in the keymaps as keys themselves if they
are not accompanied by a key they are modifying.

Further this change wires up they key dispatcher to treat modifer change
events as key presses which are considered for matching against
keybinds.


Release Notes:

- Fixes #6460

---------

Co-authored-by: Conrad Irwin <conrad.irwin@gmail.com>
2024-06-25 10:17:23 -06:00
..
2024-05-29 18:06:45 -07:00
2024-05-29 18:06:45 -07:00
2024-06-24 12:55:30 -06:00
2024-06-23 07:39:01 -04:00
2024-05-29 18:06:45 -07:00
2024-06-12 23:22:52 +03:00
2024-06-12 23:22:52 +03:00
2024-06-18 12:16:54 -07:00
2024-06-18 12:16:54 -07:00
2024-06-25 15:12:45 +02:00
2024-05-23 15:50:59 +02:00
2024-06-21 16:32:32 -07:00
2024-06-21 16:32:32 -07:00
2024-06-21 16:32:32 -07:00
2024-06-18 12:16:54 -07:00
2024-06-24 22:16:49 -06:00
2024-06-24 13:46:21 -07:00
2024-06-25 10:57:50 -04:00