# terminal: Avoid overlapping IME marked text with terminal content \(\#46227\) · gitcafe/zed

[View on GitCafe](https://git.cafe/gitcafe/zed/commit/578911de0355c0f8947929609ebbdfa025cccdf1)

Repository: [gitcafe/zed](https://git.cafe/gitcafe/zed)

Visibility: public

Requested revision: 578911de0355c0f8947929609ebbdfa025cccdf1

Requested commit: 578911de0355c0f8947929609ebbdfa025cccdf1

Commit: 578911de0355c0f8947929609ebbdfa025cccdf1

Tree: 9fd3548ac6a9f77704aae64f0392635073bb283d

Author: ᴀᴍᴛᴏᴀᴇʀ

Committer: GitHub

## Message

```
terminal: Avoid overlapping IME marked text with terminal content (#46227)

Closes #33157

|Before|After|
|--|--|
|<img width="922" height="158" alt="CleanShot 2026-01-07 at 12 18 21@2x"
src="https://github.com/user-attachments/assets/2ba6020f-5159-4ed8-aa2e-374ea3ea4cf5"
/>|<img width="908" height="200" alt="CleanShot 2026-01-07 at 12 19
02@2x"
src="https://github.com/user-attachments/assets/ec946c4e-3220-4944-b34a-1d8d5dcc7ae2"
/>|

Many other terminals seem to do it this way as well.

|Ghostty|Windows Terminal| Visual Studio Code|
|--|--|--|
|<img width="930" height="186" alt="CleanShot 2026-01-07 at 12 23 30@2x"
src="https://github.com/user-attachments/assets/837189aa-2f4c-4a48-b060-f3576b8777e0"
/>|<img width="1414" height="128" alt="c89e03d2d92869d5ec1b8a05ade84df0"
src="https://github.com/user-attachments/assets/8b6d69fb-b34d-4ccd-8a3a-9332487cd427"
/>|<img width="978" height="180" alt="CleanShot 2026-01-07 at 12 27
01@2x"
src="https://github.com/user-attachments/assets/dbc0acc7-3c16-499f-ac32-35e3c0cd0d97"
/>|

Release Notes:

- Fixed UI overlap between IME marked text and terminal content.
```

## Parents

- [d4f6ca44bc17992b3b88fb687dfe2dd3b52f3aa2](https://git.cafe/gitcafe/zed/commit/d4f6ca44bc17992b3b88fb687dfe2dd3b52f3aa2?format=markdown)

[Source at this commit](https://git.cafe/gitcafe/zed/tree/578911de0355c0f8947929609ebbdfa025cccdf1?format=markdown)
