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
parent fd31e429f5
commit c092cfbfb3
No known key found for this signature in database
6 changed files with 126 additions and 184 deletions

View file

@ -1231,6 +1231,7 @@ impl<'a> WindowContext<'a> {
/// Rotate the current frame and the previous frame, then clear the current frame.
/// We repopulate all state in the current frame during each paint.
fn start_frame(&mut self) {
self.window.platform_window.clear_input_handler();
self.text_system().start_frame();
let window = &mut *self.window;