Skip to content

Preserve table cell source metadata through TUI rendering - #48548

Merged
copyberry[bot] merged 1 commit into
mainfrom
copyberry/codex-internal-to-codex-oss/8422f224cffe2e74813394f0623b9167bdd4ac59
Sep 26, 2026
Merged

copyberry[bot] merged 1 commit into
mainfrom
copyberry/codex-internal-to-codex-oss/8422f224cffe2e74813394f0623b9167bdd4ac59

Conversation

@copyberry

@copyberry copyberry Bot commented Sep 26, 2026 •

Copy link
Copy Markdown

Preserve table cell source metadata through TUI rendering

What changed

  • Retain table identity, column alignments, cell coordinates, source byte ranges, and inline formatting in copy metadata.
  • Carry cell fragments through grid padding, wrapping, key/value layouts, and pipe output, including escaped pipes and empty cells.
  • Preserve logical source metadata when remapping wrapped lines, even without hyperlinks.

Testing

Add coverage for cell fragments across narrow and wide layouts, blank table continuations, and Markdown selection copy structure and visible transformations.

## What changed

- Retain table identity, column alignments, cell coordinates, source byte ranges, and inline formatting in copy metadata.
- Carry cell fragments through grid padding, wrapping, key/value layouts, and pipe output, including escaped pipes and empty cells.
- Preserve logical source metadata when remapping wrapped lines, even without hyperlinks.

## Testing

Add coverage for cell fragments across narrow and wide layouts, blank table continuations, and Markdown selection copy structure and visible transformations.

GitOrigin-RevId: 8422f224cffe2e74813394f0623b9167bdd4ac59
@copyberry
copyberry Bot force-pushed the copyberry/codex-internal-to-codex-oss/8422f224cffe2e74813394f0623b9167bdd4ac59 branch from 0122a42 to 16c21e3 Compare September 26, 2026 21:58
@copyberry
copyberry Bot merged commit 16c21e3 into main Sep 26, 2026
1 check passed
@copyberry
copyberry Bot deleted the copyberry/codex-internal-to-codex-oss/8422f224cffe2e74813394f0623b9167bdd4ac59 branch September 26, 2026 21:58
@github-actions github-actions Bot locked and limited conversation to collaborators Sep 26, 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