There is a problem inputting Chinese in a terminal created by screen
Resolved 💬 8 comments Opened Oct 22, 2025 by cyenxchen Closed Jan 28, 2026
💡 Likely answer: A maintainer (github-actions[bot], contributor)
responded on this thread — see the highlighted reply below.
What version of Codex is running?
codex-cli 0.47.0
What subscription do you have?
chatgpt plus
Which model were you using?
_No response_
What platform is your computer?
There is a problem inputting Chinese in a terminal created by screen
What issue are you seeing?
When using the screen command to create a terminal, start codex in that terminal, and then input and delete Chinese characters, problems will occur. If codex is not executed in a terminal created by screen, everything is normal. Please see the video for details:
https://github.com/user-attachments/assets/d61dc91a-0a51-4158-9cc8-0891c38824a8
What steps can reproduce the bug?
Create a terminal using screen command, open codex, then type Chinese and delete it
What is the expected behavior?
_No response_
Additional information
_No response_
8 Comments
Potential duplicates detected. Please review them and close your issue if it is a duplicate.
Powered by Codex Action
Possibly the same cause.
link On my side too, the system terminal and VS Code behaved differently.
@cyenxchen I run the similar config zellij + codex cli, the Chinese characters work for me. Maybe you can check the session rollout file and see if your inputs are intact
The default path is ~/.codex/sessions/<yy>/<mm>/<dd>/
Did you first create a new terminal using the screen command, and then use codex inside the newly created screen terminal?
I assume you refer to zellij screen command? Yes, that's correct
No, it's a tool called screen, please see the picture:
<img width="1214" height="1222" alt="Image" src="https://github.com/user-attachments/assets/ad6e4bb5-0039-49fe-b52c-75b4bf6b3b48" />
Please take a closer look at the video I sent; it demonstrates creating a new session inside zellij using the screen command
screen -R <session-name>, then starting codex in that session, and when you type Chinese and delete it, characters get swallowed (or some characters aren't rendered? I'm not sure).Likely related to #5318
This bug report is very old and likely no longer relevant. We've made many improvements in the interim. I'm going to close this issue. If you're still seeing this problem, let us know, and I'll reopen.