codex icon indicating copy to clipboard operation
codex copied to clipboard

Random characters in TUI

Open distributedstatemachine opened this issue 1 year ago • 14 comments

What version of Codex is running?

codex-cli 0.45.0

Which model were you using?

all

What platform is your computer?

Linux 6.8.0-64-generic x86_64 x86_64

What steps can reproduce the bug?

Start Codex

Image

What is the expected behavior?

start codex

no ansi print out

What do you see instead?

Ansi print outs on screen

Additional information

I have heard of a friend having this when ssh-ing into a remote server, which is similar to my set up. This worked fine before i upgraded

distributedstatemachine avatar Oct 08 '25 13:10 distributedstatemachine

Potential duplicates detected. Please review them and close your issue if it is a duplicate.

  • #4759

Powered by Codex Action

github-actions[bot] avatar Oct 08 '25 13:10 github-actions[bot]

The issue persists on latest master 26f7c468.

kvinwang avatar Oct 12 '25 11:10 kvinwang

The issue persists on latest 0.47

mahmoud1973 avatar Oct 18 '25 19:10 mahmoud1973

Same here in both linux & macOS .. on latest 0.47

khaled-wsa avatar Oct 19 '25 02:10 khaled-wsa

Same issue

senkushal avatar Oct 21 '25 19:10 senkushal

same issue

foreverpiano avatar Oct 24 '25 12:10 foreverpiano

The issue still persists in version 0.48. Any updates from the dev team on this annoying issue would be appreciated. Is it really that hard to fix?

mahmoud1973 avatar Oct 24 '25 15:10 mahmoud1973

Persists in 0.49

info-wordcab avatar Oct 25 '25 09:10 info-wordcab

I finally managed to fix this annoying issue by using tmux.

Start a tmux session: tmux new -s codex

You detach (Ctrl+b then d) and log out. The process keeps running inside tmux even if your SSH is gone.

Later, you can reconnect with ssh and run: tmux attach -t codex and you’re back in the same terminal

mahmoud1973 avatar Oct 25 '25 13:10 mahmoud1973

I finally managed to fix this annoying issue by using tmux.

Start a tmux session: tmux new -s codex

You detach (Ctrl+b then d) and log out. The process keeps running inside tmux even if your SSH is gone.

Later, you can reconnect with ssh and run: tmux attach -t codex and you’re back in the same terminal

Same here on a remote Azure server - only using tmux helped.

info-wordcab avatar Oct 25 '25 13:10 info-wordcab

@nornagon-openai @etraut-openai @joshka-oai Could the bug https://github.com/PowerShell/openssh-portable/pull/806#issue-3483834510 be the cause of this issue (in case of sshing from Windows to Linux)?

o-sdn-o avatar Nov 02 '25 21:11 o-sdn-o

This is still a problem on v0.104.0 in macos iterm.

Image

Codex has a lot of really strong points, but this bug really kills usability for me.

lidj22 avatar Feb 24 '26 04:02 lidj22

@lidj22, this bug was fixed a long time ago. If you're seeing a similar behavior, it's likely a new or different problem. Please open a new bug report and provide as many repro steps or other details as you can. Thanks!

etraut-openai avatar Feb 24 '26 04:02 etraut-openai

@etraut-openai thanks for the response! I will report details on this issue when available.

lidj22 avatar Feb 25 '26 02:02 lidj22