Fix bug with IME

Adjust how IME works in the terminal

co-authored-by: nathan <nathan@zed.dev>
This commit is contained in:
Mikayla
2023-12-06 15:54:08 -08:00
co-authored by nathan
parent fd31e429f5
commit c092cfbfb3
6 changed files with 126 additions and 184 deletions
+4
View File
@@ -89,6 +89,10 @@ impl PlatformWindow for TestWindow {
self.input_handler = Some(Arc::new(Mutex::new(input_handler)));
}
fn clear_input_handler(&mut self) {
self.input_handler = None;
}
fn prompt(
&self,
_level: crate::PromptLevel,