Files
oak-gpui/crates/gpui/src
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-06-13 16:38:53 -07:00
2024-06-25 15:12:45 +02:00
2024-06-13 16:38:53 -07:00
2024-06-18 12:16:54 -07:00
2024-06-17 12:44:32 -06:00
2024-06-25 15:12:45 +02:00
2024-03-11 10:45:57 +01:00
2024-06-12 23:22:52 +03:00
2024-01-21 14:26:45 -08:00
2024-01-21 14:26:45 -08:00
2024-06-12 23:22:52 +03:00
2024-05-29 18:06:45 -07:00
2024-06-13 16:38:53 -07:00
2024-05-22 18:04:47 -04:00