Expand tabs when rendering TUI diffs - #32461
Merged
copyberry[bot] merged 1 commit intoJul 11, 2026
Merged
Conversation
## What changed - Replace tab characters in rendered diff spans with four spaces while keeping their wrapping width and style intact. - Ensure diff buffers never contain literal tab characters. ## Testing - Cover tab expansion and wrapping in `wrap_styled_spans`. - Update diff gallery snapshots at multiple terminal sizes. GitOrigin-RevId: 2159e84991b844ea8c4c57dfad52bc3fe7a9059f
copyberry
Bot
force-pushed
the
copyberry/codex-internal-to-codex-oss/2159e84991b844ea8c4c57dfad52bc3fe7a9059f
branch
from
July 11, 2026 17:48
4537020 to
385c0a9
Compare
copyberry
Bot
deleted the
copyberry/codex-internal-to-codex-oss/2159e84991b844ea8c4c57dfad52bc3fe7a9059f
branch
July 11, 2026 17:49
cjlBelongGithub
temporarily deployed
to
issue-triage
July 11, 2026 17:52 — with
GitHub Actions
Inactive
cjlBelongGithub
temporarily deployed
to
issue-triage
July 11, 2026 17:52 — with
GitHub Actions
Inactive
cjlBelongGithub
temporarily deployed
to
issue-triage
July 11, 2026 17:52 — with
GitHub Actions
Inactive
iamhectorlopez
temporarily deployed
to
issue-triage
July 11, 2026 18:47 — with
GitHub Actions
Inactive
iamhectorlopez
temporarily deployed
to
issue-triage
July 11, 2026 18:47 — with
GitHub Actions
Inactive
iamhectorlopez
temporarily deployed
to
issue-triage
July 11, 2026 18:47 — with
GitHub Actions
Inactive
oohhddaanngg
temporarily deployed
to
issue-triage
July 11, 2026 20:07 — with
GitHub Actions
Inactive
oohhddaanngg
temporarily deployed
to
issue-triage
July 11, 2026 20:07 — with
GitHub Actions
Inactive
oohhddaanngg
temporarily deployed
to
issue-triage
July 11, 2026 20:07 — with
GitHub Actions
Inactive
oohhddaanngg
temporarily deployed
to
issue-triage
July 11, 2026 20:08 — with
GitHub Actions
Inactive
julesLubrano
temporarily deployed
to
issue-triage
July 11, 2026 20:24 — with
GitHub Actions
Inactive
julesLubrano
temporarily deployed
to
issue-triage
July 11, 2026 20:24 — with
GitHub Actions
Inactive
julesLubrano
temporarily deployed
to
issue-triage
July 11, 2026 20:24 — with
GitHub Actions
Inactive
julesLubrano
temporarily deployed
to
issue-triage
July 11, 2026 20:25 — with
GitHub Actions
Inactive
newbialywhodis
temporarily deployed
to
issue-triage
July 11, 2026 20:26 — with
GitHub Actions
Inactive
newbialywhodis
temporarily deployed
to
issue-triage
July 11, 2026 20:26 — with
GitHub Actions
Inactive
newbialywhodis
temporarily deployed
to
issue-triage
July 11, 2026 20:26 — with
GitHub Actions
Inactive
JarryGabriel
temporarily deployed
to
issue-triage
July 11, 2026 20:36 — with
GitHub Actions
Inactive
JarryGabriel
temporarily deployed
to
issue-triage
July 11, 2026 20:36 — with
GitHub Actions
Inactive
JarryGabriel
temporarily deployed
to
issue-triage
July 11, 2026 20:36 — with
GitHub Actions
Inactive
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Expand tabs when rendering TUI diffs
What changed
their wrapping width and style intact.
Testing
wrap_styled_spans.