Skip to content

armgit / zed

Public Imported from GitHub
0

Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.

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

Conrad Irwin44a58647e4dc
diff --git a/crates/editor/src/editor.rs b/crates/editor/src/editor.rs
index 1e61dc9f4a2..16402795ee5 100644
--- a/crates/editor/src/editor.rs
+++ b/crates/editor/src/editor.rs
@@ -11708,7 +11708,6 @@ impl ViewInputHandler for Editor {
cx: &mut ViewContext<Self>,
) {
if !self.input_enabled {
- cx.emit(EditorEvent::InputIgnored { text: text.into() });
return;
}