Files
codex/codex-rs
Eric Traut c6b00eacb9 Add composer borders when the terminal background is unknown (#63741)
## Why

When Codex cannot detect the terminal background, the composer loses the
fill that sets it apart from the surrounding UI. Guessing a fill color
could hide the terminal cursor.

## What changed

Use gray top and bottom borders to mark the composer when it has no
background fill, leaving the terminal background visible. Draw the
borders only when there is room for the text area and the terminal can
render a color.

## Testing

Add a snapshot for a missing terminal palette that shows the borders
around a draft with a file mention and an image attachment.

GitOrigin-RevId: da74996fcde8f669c7b1577fa93a7744ad65e4f6
2026-11-24 21:08:47 +00:00
..
…
…
…