Skip to content

Avoid cloning hyperlink text during TUI rendering - #34366

Merged
copyberry[bot] merged 1 commit into
mainfrom
copyberry/codex-internal-to-codex-oss/c9cd6ff5ec63cd29719ea2ae51acede7364f2bd8
Jul 20, 2026
Merged

Avoid cloning hyperlink text during TUI rendering#34366
copyberry[bot] merged 1 commit into
mainfrom
copyberry/codex-internal-to-codex-oss/c9cd6ff5ec63cd29719ea2ae51acede7364f2bd8

Conversation

@copyberry

@copyberry copyberry Bot commented Jul 20, 2026

Copy link
Copy Markdown

Avoid cloning hyperlink text during TUI rendering

What changed

Add a borrowed Line conversion and use it when rendering and measuring
hyperlink-aware history and pager content. This preserves line styling and
alignment while avoiding clones of the underlying span strings.

## What changed

Add a borrowed `Line` conversion and use it when rendering and measuring
hyperlink-aware history and pager content. This preserves line styling and
alignment while avoiding clones of the underlying span strings.

GitOrigin-RevId: c9cd6ff5ec63cd29719ea2ae51acede7364f2bd8
@copyberry
copyberry Bot force-pushed the copyberry/codex-internal-to-codex-oss/c9cd6ff5ec63cd29719ea2ae51acede7364f2bd8 branch from 07ae316 to 28aacbb Compare July 20, 2026 15:40
@copyberry
copyberry Bot merged commit 28aacbb into main Jul 20, 2026
32 checks passed
@copyberry
copyberry Bot deleted the copyberry/codex-internal-to-codex-oss/c9cd6ff5ec63cd29719ea2ae51acede7364f2bd8 branch July 20, 2026 15:41
@github-actions github-actions Bot locked and limited conversation to collaborators Jul 20, 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.

2 participants