Skip to content

Improve TUI contrast, keyboard hints, and picker layouts - #46680

Merged
copyberry[bot] merged 1 commit into
mainfrom
copyberry/codex-internal-to-codex-oss/f3c71879d3bcc4e3b29d70e63cf377dea5914916
Sep 19, 2026
Merged

copyberry[bot] merged 1 commit into
mainfrom
copyberry/codex-internal-to-codex-oss/f3c71879d3bcc4e3b29d70e63cf377dea5914916

Conversation

@copyberry

@copyberry copyberry Bot commented Sep 19, 2026 •

Copy link
Copy Markdown

Improve TUI contrast, keyboard hints, and picker layouts

Why

Theme colors and dimmed text can lose contrast against terminal and shaded backgrounds. Pickers also need to keep controls and the selected result visible when space is limited.

What changed

  • Add shared blue accents and contrast-aware foregrounds that account for painted backgrounds and terminal color depth, with terminal-default fallbacks for limited palettes.
  • Apply readable colors to footer text, status lines, prompt attachment labels, and diff content. Remove dimming from syntax-highlighted diff text so it does not undo contrast correction.
  • Use compact shortcut labels such as ctrl+c, emphasize complete key combinations, and separate composer footer actions with ·.
  • Add an opt-in picker presentation with full-width selection, filled tabs, separate overflow indicators, and navigation based on visible rows. Enable it for /keymap, reserving result space to keep controls stable across filtering and tab changes.

Testing

Add regression tests and snapshots for contrast after palette conversion, shaded diff backgrounds, shortcut typography, picker resizing and pagination, Unicode tab truncation, and stable /keymap geometry.

## Why

Theme colors and dimmed text can lose contrast against terminal and shaded backgrounds. Pickers also need to keep controls and the selected result visible when space is limited.

## What changed

- Add shared blue accents and contrast-aware foregrounds that account for painted backgrounds and terminal color depth, with terminal-default fallbacks for limited palettes.
- Apply readable colors to footer text, status lines, prompt attachment labels, and diff content. Remove dimming from syntax-highlighted diff text so it does not undo contrast correction.
- Use compact shortcut labels such as `ctrl+c`, emphasize complete key combinations, and separate composer footer actions with ` · `.
- Add an opt-in picker presentation with full-width selection, filled tabs, separate overflow indicators, and navigation based on visible rows. Enable it for `/keymap`, reserving result space to keep controls stable across filtering and tab changes.

## Testing

Add regression tests and snapshots for contrast after palette conversion, shaded diff backgrounds, shortcut typography, picker resizing and pagination, Unicode tab truncation, and stable `/keymap` geometry.

GitOrigin-RevId: f3c71879d3bcc4e3b29d70e63cf377dea5914916
@copyberry
copyberry Bot force-pushed the copyberry/codex-internal-to-codex-oss/f3c71879d3bcc4e3b29d70e63cf377dea5914916 branch from a18c57b to 132c2be Compare September 19, 2026 17:46
@copyberry
copyberry Bot merged commit 132c2be into main Sep 19, 2026
@copyberry
copyberry Bot deleted the copyberry/codex-internal-to-codex-oss/f3c71879d3bcc4e3b29d70e63cf377dea5914916 branch September 19, 2026 17:47
@github-actions github-actions Bot locked and limited conversation to collaborators Sep 19, 2026
@Hopespoir
Hopespoir deployed to issue-triage September 19, 2026 17:54 — with GitHub Actions Active
@Hopespoir
Hopespoir deployed to issue-triage September 19, 2026 17:54 — with GitHub Actions Active
@Hopespoir
Hopespoir deployed to issue-triage September 19, 2026 17:54 — with GitHub Actions Active
@Hopespoir
Hopespoir deployed to issue-triage September 19, 2026 17:55 — with GitHub Actions Active
@byteora
byteora deployed to issue-triage September 19, 2026 18:00 — with GitHub Actions Active
@byteora
byteora deployed to issue-triage September 19, 2026 18:00 — with GitHub Actions Active
@byteora
byteora deployed to issue-triage September 19, 2026 18:00 — with GitHub Actions Active
@byteora
byteora deployed to issue-triage September 19, 2026 18:01 — with GitHub Actions Active

This branch was successfully deployed

1 active deployment
issue-triage — 132c2be2 Deployed Sep 19, 2026 by alphamediail via Identify potential duplicates (all issues) #46815
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

10 participants