Skip to content

Random characters in TUI #4945

Closed
Closed

Description

@distributedstatemachine

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

Activity

  1. added
    bug
    on Oct 8, 2025
  2. github-actions commented on Oct 8, 2025

    @github-actions
    Contributor

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

    Powered by Codex Action

  3. kvinwang commented on Oct 12, 2025

    @kvinwang

    The issue persists on latest master 26f7c46.

  4. reopened this on Oct 14, 2025
  5. mahmoud1973 commented on Oct 18, 2025

    @mahmoud1973

    The issue persists on latest 0.47

  6. khaled-wsa commented on Oct 19, 2025

    @khaled-wsa

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

  7. senkushal commented on Oct 21, 2025

    @senkushal

    Same issue

  8. foreverpiano commented on Oct 24, 2025

    @foreverpiano

    same issue

  9. mahmoud1973 commented on Oct 24, 2025

    @mahmoud1973

    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?

  10. info-wordcab commented on Oct 25, 2025

    @info-wordcab

    Persists in 0.49

  11. mahmoud1973 commented on Oct 25, 2025

    @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

  12. info-wordcab commented on Oct 25, 2025

    @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

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

  13. added
    TUI
    on Oct 28, 2025
  14. o-sdn-o commented on Nov 2, 2025

    @o-sdn-o

    @nornagon-openai @etraut-openai @joshka-oai Could the bug PowerShell/openssh-portable#806 (comment) be the cause of this issue (in case of sshing from Windows to Linux)?

  15. lidj22 commented on Feb 24, 2026

    @lidj22

    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.

  16. etraut-openai commented on Feb 24, 2026

    @etraut-openai
    Contributor

    @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!

  17. lidj22 commented on Feb 25, 2026

    @lidj22

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    TUIbug

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions