Files
oak-gpui/crates
Bruno Calza a2c6b4ad2f Fix empty keystroke with simulated IME (#19414)
Closes #19181

When the keystroke was empty ("") the `ime_key` was converted from
`None` to `Some("")` when `with_simulated_ime` was called. That was
leading to not intentional behavior when an empty keystroke was combined
with `shift-up` in a keybinding `["workspace::SendKeystrokes", "shift-up
"]`.

By adding a `key.is_empty()` we make sure the `ime_key` keeps as `None`.

This was manually tested. 

Release Notes:

- Fixed empty keystroke with simulated ime

Signed-off-by: Bruno Calza <brunoangelicalza@gmail.com>
2024-10-21 13:44:05 -06:00
..
2024-10-21 13:05:30 +03:00
2024-10-21 13:05:30 +03:00
2024-10-21 13:05:30 +03:00
2024-09-13 13:17:49 -04:00
2024-04-30 23:31:59 -06:00
2024-08-13 23:06:07 -07:00
2024-03-11 10:45:57 +01:00
2024-10-21 13:05:30 +03:00
2024-07-15 17:04:15 -06:00
2024-10-21 13:05:30 +03:00
2024-10-21 13:05:30 +03:00
2024-10-21 13:05:30 +03:00
2024-10-02 13:27:16 +02:00
2024-10-21 13:05:30 +03:00