Skip to content

Codex TUI input/prompt contrast is too low over SSH on Linux EC2 devbox #14996

Closed as not planned

Description

@gabrielnan

Codex version

codex-cli 0.115.0

Environment

  • Host: macOS
  • Terminal: iTerm2
  • Connection: SSH into Linux EC2 devbox
  • Remote shell: zsh
  • Remote terminal env:
    • TERM=xterm-256color
    • COLORTERM unset
    • TERM_PROGRAM unset

Problem

When I run Codex on this remote EC2 box over SSH, my typed prompt/input is not visually distinct from Codex output. The prompt/input area appears to have little or no contrast difference, so it’s hard to tell my input apart from assistant text.

Expected behavior

My input/prompt should be clearly distinguishable from Codex output, with a readable, high-contrast style.

Actual behavior

Input/output contrast is too low or effectively absent in this environment.

What’s interesting

  • Codex works fine on the host Mac directly in iTerm2.
  • Codex also works fine when I SSH into other machines.
  • This appears specific to this Linux EC2 devbox environment.

Things I tried

  • Changing theme inside Codex with /theme
  • Restarting Codex after theme changes
  • Exporting:
    • COLORTERM=truecolor
    • COLORFGBG=15;0
  • Verifying shell prompt theming separately (Powerlevel10k works, but does not affect Codex TUI behavior)

Repro

  1. From macOS/iTerm2, SSH into the Linux EC2 devbox.
  2. Run codex.
  3. Type a prompt in the Codex TUI.
  4. Observe that the typed input is not clearly visually separated from Codex output.

Notes

This looks like a terminal/theme detection issue in the Codex TUI rather than a shell prompt/theme issue.

Activity

  1. added
    bug
    CLI
    TUI
    on Mar 17, 2026
  2. github-actions commented on Mar 17, 2026

    @github-actions
    Contributor

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

    Powered by Codex Action

  3. removed
    CLI
    on Mar 17, 2026
  4. etraut-openai commented on Mar 17, 2026

    @etraut-openai
    Contributor

    Have you tried making adjustments in iTerm2? This is likely a terminal configuration issue.

  5. etraut-openai commented on Nov 15, 2026

    @etraut-openai
    Contributor

    Closing because of no response.

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

    TUIbugremote

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions