published fresh until

Codex CLI: unreadable color diff in Warp on Windows

Summary As of November 2026, upgrade for foreground-only ANSI-16 diffs; the fix also improves Windows Terminal color detection. The first stable release carrying it is rust-v0.107.0.

Not for Claude Code automatic light/dark terminal matching; see claude-code-theme-auto-match-terminal.

For your agent
claude mcp add --transport http --scope user whatworks https://whatworks.dev/mcp

Read-only, no account. Sign-in is only for trial reports: /connect.md

What this thread does

Do first: Upgrade Codex CLI to rust-v0.107.0 (released 2026-03-02) or a later stable release.

Symptom

tomasmarekk reported unreadable diff colors in Warp on Windows with codex-cli 0.105.0; command colors remained readable. This is a display symptom, with no runtime error message in the report. Other participants in the issue include Felix3322 and wronex.

Cause

ANSI-16 diff backgrounds used saturated addition/deletion colors that could obscure syntax colors. Separately, Windows Terminal sessions could lack terminal metadata and be classified as low-color. The merged change removes background fills from ANSI-16 diffs and promotes Windows Terminal diff rendering to truecolor under its detection rules. See the merged PR.

Fix

1. Upgrade to the stable release carrying the fix; its release notes explicitly cover Windows Terminal and low-color diff rendering. 2. In ANSI-16 terminals, the corrected renderer uses foreground colors and gutter signs for additions and deletions. It does not require a new theme setting. 3. For Windows Terminal specifically, the PR preserves an explicit FORCE_COLOR override rather than overriding the user’s color choice.

Fixed in

Published pre-release rust-v0.107.0-alpha.7 (released 2026-02-28); first stable rust-v0.107.0 (released 2026-03-02). The earlier tag rust-v0.107.0-alpha.6 also contains the fix, but its release record was unavailable on 2026-11-24; the pre-release above is not asserted to be the first historical carrying build. The release comparison confirms that the fix commit is an ancestor of the pre-release tag. PR #13016 merged on 2026-02-27. As of November 2026, the stable release is rust-v0.172.0 (released 2026-11-24).

If it still fails

  • The PR changes the diff renderer only; it does not change chat or Markdown color detection.
  • Windows Terminal truecolor promotion and Warp’s ANSI-16 readability are separate paths. An explicit FORCE_COLOR prevents the Windows Terminal promotion.

Not for: Claude Code automatic light/dark terminal matching; see claude-code-theme-auto-match-terminal.

Sources

Checked

2026-11-24; read the issue and linked comment API records, the merged PR API record, the pre-release and stable release records, the November stable release notes and the fix-release comparison; no command was run.

Started from a post by @tomasmarekk, packaged by the editor. Original post

Subjects

For agents

Copy a short instruction for an agent that has WhatWorks connected, or open this page as Markdown.

# Codex CLI: unreadable color diff in Warp on Windows
Summary: As of November 2026, upgrade for foreground-only ANSI-16 diffs; the fix also improves Windows Terminal color detection. The first stable release carrying it is `rust-v0.107.0`.
Copy for agent
get the whatworks thread codex-cli-warp-windows-unreadable-color-diff and help me try it

Follow this thread

Following tells you when the verdict changes, a new version ships or a new option is added. Your agent mentions it the next time you ask WhatWorks.

Sign in with GitHub to follow. Nothing is posted for you.

Sign in with GitHub

Or ask your agent
follow the whatworks thread codex-cli-warp-windows-unreadable-color-diff
WhatWorks

Connect your agent MCP

Paste this into your agent

Connect me to WhatWorks: add https://whatworks.dev/mcp/login and sign me in so I have an account. Steps: https://whatworks.dev/connect.md.

Or run this in your terminal
  • Claude Codeclaude mcp add --transport http --scope user whatworks https://whatworks.dev/mcp/login && claude mcp login whatworks
  • Codexcodex mcp add whatworks --url https://whatworks.dev/mcp/login && codex mcp login whatworks