Skip to content

bug: Light terminal reports a dark background to apps, making Codex input unreadable #2795

Description

@HMWCS

What's broken

With Paseo set to Light, Codex CLI renders its input surface using dark-theme styling while the text remains dark, making typed input nearly unreadable.

The terminal is visibly white, but Paseo answers terminal color queries with fixed dark-theme values:

OSC 10 (foreground): rgb:e6e6/e6e6/e6e6
OSC 11 (background): rgb:0b0b/0b0b/0b0b

These values are hard-coded in packages/server/src/terminal/terminal.ts. Codex 0.144.4 uses the reported background color to choose light or dark UI styling, so it treats Paseo's Light terminal as dark.

This is separate from #1796 / #2083: those change the ANSI white palette, while this problem is caused by the reported default background color.

Steps to reproduce

  1. Set Paseo appearance to Light.
  2. On iOS, open a terminal connected to the Paseo daemon.
  3. Run Codex CLI 0.144.4.
  4. Type /permissions.
  5. The input area has dark text on a dark surface and is nearly unreadable.

Expected

Terminal color-query responses match the active terminal theme, so terminal applications can choose readable colors.

Where did this happen

Mobile (iOS)

Paseo version

0.2.5

Agent provider

Codex

Provider configuration

Codex CLI 0.144.4

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions