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)
be1387fee6aohanhongzhi committed on 7/16/2024, 5:54:53 PM· committed by GitHubparent09459fa
1 file changedLine totals unavailable