Files
codex/codex-rs/tui/tests/suite
Eric Traut 104d256418 Preserve the host terminal's cursor shape in default TUI sessions (#63152)
## Why

Sending the terminal's default cursor shape can overwrite a shape
already set by the host, even when Codex never requested a custom shape.

## What changed

Leave the cursor shape alone during draws that use the default shape
until Codex applies an override. Track whether an override was applied
so cleanup resets the shape only when needed and still makes the
cursor visible.

## Testing

Check that default sessions and sessions using terminal scrollback emit
no cursor-shape reset. Keep exercising cursor repair with an explicit
shape override.

GitOrigin-RevId: 1f6f1cad0bfc04307896cea1d75b9535fc21031d
2026-11-22 16:32:37 +00:00
..