Skip to content

Fix TUI layout for halfwidth Japanese sound marks - #35962

Merged
copyberry[bot] merged 1 commit into
mainfrom
copyberry/codex-internal-to-codex-oss/294ec0bcff743c6bb16d55ec26308524ce741879
Jul 29, 2026
Merged

Fix TUI layout for halfwidth Japanese sound marks#35962
copyberry[bot] merged 1 commit into
mainfrom
copyberry/codex-internal-to-codex-oss/294ec0bcff743c6bb16d55ec26308524ce741879

Conversation

@copyberry

@copyberry copyberry Bot commented Jul 29, 2026

Copy link
Copy Markdown

Fix TUI layout for halfwidth Japanese sound marks

What changed

  • Use Ratatui-compatible terminal widths throughout TUI layout, preserving
    full-width counters for long lines.
  • Wrap and truncate on grapheme boundaries so halfwidth kana sound marks and
    emoji sequences stay intact.
  • Apply the corrected sizing to text input, selection popups, status and
    history cells, Markdown, hyperlinks, and scrollable cloud diffs.

Testing

  • Add focused unit and snapshot coverage for wrapping, truncation, cursor and
    mask alignment, popup columns, status output, session headers, Markdown
    tables, process output, and scrollable diffs.

## What changed

- Use Ratatui-compatible terminal widths throughout TUI layout, preserving
  full-width counters for long lines.
- Wrap and truncate on grapheme boundaries so halfwidth kana sound marks and
  emoji sequences stay intact.
- Apply the corrected sizing to text input, selection popups, status and
  history cells, Markdown, hyperlinks, and scrollable cloud diffs.

## Testing

- Add focused unit and snapshot coverage for wrapping, truncation, cursor and
  mask alignment, popup columns, status output, session headers, Markdown
  tables, process output, and scrollable diffs.

GitOrigin-RevId: 294ec0bcff743c6bb16d55ec26308524ce741879
@copyberry
copyberry Bot force-pushed the copyberry/codex-internal-to-codex-oss/294ec0bcff743c6bb16d55ec26308524ce741879 branch from e012f3a to 3725f02 Compare July 29, 2026 14:01
@copyberry
copyberry Bot merged commit 3725f02 into main Jul 29, 2026
29 of 30 checks passed
@copyberry
copyberry Bot deleted the copyberry/codex-internal-to-codex-oss/294ec0bcff743c6bb16d55ec26308524ce741879 branch July 29, 2026 14:02
@github-actions github-actions Bot locked and limited conversation to collaborators Jul 29, 2026
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.