Skip to content

Preserve user message styling when wrapping long URLs - #38380

Merged
copyberry[bot] merged 1 commit into
mainfrom
copyberry/codex-internal-to-codex-oss/59514eee4ab967bd937b55574b9f8d0d1c82df7c
Aug 13, 2026
Merged

Preserve user message styling when wrapping long URLs#38380
copyberry[bot] merged 1 commit into
mainfrom
copyberry/codex-internal-to-codex-oss/59514eee4ab967bd937b55574b9f8d0d1c82df7c

Conversation

@copyberry

@copyberry copyberry Bot commented Aug 13, 2026

Copy link
Copy Markdown

Preserve user message styling when wrapping long URLs

Why

Terminal autowrap for oversized URL tokens can drop the user-message gutter and background on continuation rows.

What changed

  • Explicitly wrap long URLs within the available message width.
  • Preserve the complete OSC 8 hyperlink destination on every wrapped fragment.
  • Keep the user-message gutter and background styling across continuation rows.

Testing

Add history-cell and VT100 coverage for URL content, hyperlink targets, gutters, and backgrounds across wrapped rows.

## Why

Terminal autowrap for oversized URL tokens can drop the user-message gutter and background on continuation rows.

## What changed

- Explicitly wrap long URLs within the available message width.
- Preserve the complete OSC 8 hyperlink destination on every wrapped fragment.
- Keep the user-message gutter and background styling across continuation rows.

## Testing

Add history-cell and VT100 coverage for URL content, hyperlink targets, gutters, and backgrounds across wrapped rows.

GitOrigin-RevId: 59514eee4ab967bd937b55574b9f8d0d1c82df7c
@copyberry
copyberry Bot force-pushed the copyberry/codex-internal-to-codex-oss/59514eee4ab967bd937b55574b9f8d0d1c82df7c branch from b8bb09e to d09cf7e Compare August 13, 2026 13:53
@copyberry
copyberry Bot merged commit d09cf7e into main Aug 13, 2026
28 of 32 checks passed
@copyberry
copyberry Bot deleted the copyberry/codex-internal-to-codex-oss/59514eee4ab967bd937b55574b9f8d0d1c82df7c branch August 13, 2026 13:54
@github-actions github-actions Bot locked and limited conversation to collaborators Aug 13, 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.

1 participant