### Where Windows ### What happened <img width="665" height="156" alt="Image" src="https://github.com/user-attachments/assets/82eea24e-8660-40c1-b8e7-441d99c2da59" /> ### Steps to reproduce 1. 打开codex 2. 让codex执行任务 ### What you expected 没有文本重叠 ### Commit or version 0.1.8 ### Logs ```shell ```
Activity
Raiden-MeixElysia commentedon Oct 23, 2026
奇怪了,我也一直用codex从来没碰到这个问题,我看看是codex的问题还是terminal的问题。
T76: an erase, insert or delete that splits a wide character clears a…
Raiden-MeixElysia commentedon Oct 24, 2026
@wsrer 谢谢你的报告和截图。
我们找到了一个真实的缺陷,已在 4b94326 修复。alacritty 擦除、插入或删除时,若边界落在中文宽字符的中间,只清掉其中一半;留下的左半格仍画出整个字,压在下一格上。ConPTY 按 xterm 的规则擦除后,认为这些格已经空了,不再重画,残字便留在状态栏里,和截图一致。插入模式下打字、在半个宽字符上覆写,也会这样。
现在 ELYTerminal 用 ELY-Open-Source/alacritty 的
elyterminal-0.26.0分支:每次编辑前,按 xterm 的做法,先用当前背景色把被劈开的宽字符整个清掉。2715 组编辑与 xterm.js 结果相同;覆写时的背景和属性也与真实 XTerm 对照过。我在 Windows 11 上跑了两次 codex 会话,没有复现截图里的那一幕。codex 的仓库里有同类报告,出现在 Windows Terminal 上:openai/codex#38002、openai/codex#30975,所以 codex 的重绘也可能有份。修复随下个版本发布。升级后若仍能看到,请重新打开这个 issue,附上 codex 版本、所用 shell 和截图。