Files
codex/codex-rs/skills
Joe Savona 15843299be Support inline code in custom status lines (#63755)
## Why

Ordinary status line text collapses spaces and tabs, so it cannot
preserve the spacing of commands and other literals.

## What changed

Add a `code` element to the terminal UI tree and expose it as
`CodeElement` in the status line TypeScript contract. Code spans
preserve literal spacing, expand tabs to terminal tab stops, and use
theme-aware foreground and background colors. They prefer word breaks
and can wrap long tokens at grapheme boundaries in narrow layouts.

## Testing

Add renderer coverage for whitespace, wrapping across styled children,
clipping, and theme contrast. Extend the TypeScript contract fixture to
check that `CodeElement` requires a child list.

GitOrigin-RevId: 626d7624829a25e342fc052ab5194ff53b2a7673
2026-11-24 22:26:31 +00:00
..