diff --git a/crates/term/src/widget/mod.rs b/crates/term/src/widget/mod.rs index 0d8ca720..fc32d529 100644 --- a/crates/term/src/widget/mod.rs +++ b/crates/term/src/widget/mod.rs @@ -373,6 +373,7 @@ where let mut cursor_shape = cursor_style.shape; if !response.has_focus() { cursor_shape = CursorShape::HollowBlock; + self.ime_text = None; } self.stable_time += ui.input(|i| i.stable_dt.min(0.1));