Skip to content

Terminal prints repeating 11;rgb:0404/0404/0404 sequences while Codex is open #4960

Closed as duplicate

Description

@khaled-wsa

What version of Codex is running?

codex-cli 0.45.0

Which model were you using?

gpt-5-codex

What platform is your computer?

Darwin 25.0.0 arm64 arm

What steps can reproduce the bug?

SSH into a Debian or Ubuntu cloud instance (or run Codex in a minimal terminal, remote console or the normal MacOS terminal)

  1. Navigate to a project folder:
  2. Launch Codex:
  3. Observe the terminal repeatedly printing lines similar to:
    › 11;rgb:0404/0404/040410;rgb:fefe/ffff/ffff11;rgb:0404/0404/040411;rgb:0404/0404/040411;rgb:0404/0404/0404

These continue as long as the keyboard input area is open.

What is the expected behavior?

Codex should open a clean interactive prompt with no stray text output. The OSC color query responses (used to detect terminal foreground/background colors) should be handled silently by the terminal and not printed to the screen.

What do you see instead?

While Codex is open, the terminal continuously displays OSC 10/11 replies like 11;rgb:... and 10;rgb:....
They appear as plain text lines and fill the screen until the app is closed or redrawn.
The rest of Codex continues to function, but the repeated text makes the session hard to read, having to keep clearing the input field by CTRL+C every few seconds.
› 11;rgb:0404/0404/040410;rgb:fefe/ffff/ffff11;rgb:0404/0404/040411;rgb:0404/0404/040411;rgb:0404/0404/0404
It can also change to look like this in macos for example:
› 10;rgb:ffff/ffff/ffff11;rgb:1e1e/1e1e/1e1e10;rgb:ffff/ffff/ffff11;rgb:1e1e/1e1e/1e1e10;rgb:ffff/ffff/ffff11;rgb:1e1e/1e1e/1e1e

Additional information

Suspected cause:
Codex or one of its dependencies issues OSC 10/11 terminal color queries to detect the theme colors. Some terminals or multiplexers echo these responses instead of suppressing them, producing visible garbage output.
It was happening also in version 0.44.0 but its producing these echos much faster in 0.45.0.

Image

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. khaled-wsa commented on Oct 8, 2025

    @khaled-wsa
    Author

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

    Powered by Codex Action

    This behavior is not limited to Windows. It also occurs on macOS and in XTERM-* and XTERM-256COLOR based terminals.

  4. mahmoud1973 commented on Oct 8, 2025

    @mahmoud1973

    Same issue here.

  5. gpeal commented on Oct 9, 2025

    @gpeal
    Contributor

    Duplicate of #4945

  6. vkgo commented on Oct 10, 2025

    @vkgo

    Same issue in 0.46

  7. AaronW-BE commented on Oct 13, 2025

    @AaronW-BE

    Same issue in terminal of github codespace vscode

  8. entslscheia commented on Oct 18, 2025

    @entslscheia

    yes this is stupid

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

    bug

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions