Wait for composition to end before sending InputIgnored (#12871)

Release Notes:

- vim: Fixed `f`/`t` etc. for keys that require IME (#12522)
This commit is contained in:
Conrad Irwin 2024-06-10 20:03:21 -06:00 committed by GitHub
parent 4e98c23463
commit 44a58647e4
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -11708,7 +11708,6 @@ impl ViewInputHandler for Editor {
cx: &mut ViewContext<Self>,
) {
if !self.input_enabled {
cx.emit(EditorEvent::InputIgnored { text: text.into() });
return;
}