Fix text appearing twice after Chinese character input (#14558)

Release Notes:

- Fixed the issue where text appears twice in the editor after Chinese
Character input.([linux: Fix IME on
fcitx](https://github.com/zed-industries/zed/pull/14508)).

Before:

![zed2](https://github.com/user-attachments/assets/e387d70b-ca91-49c8-93e4-850f9e3ef227)

After Fixed:

![zed](https://github.com/user-attachments/assets/8307c12f-30a7-4e82-8c65-d0b53bb8cf44)
This commit is contained in:
aohanhongzhi
2024-07-16 10:54:53 -07:00
committed by GitHub
parent 09459fa3a4
commit be1387fee6
@@ -1001,7 +1001,6 @@ impl X11Client {
}));
}
window.handle_ime_commit(text);
Some(())
}