Skip to content

Avoid redundant grid_ref in exportScrollback spacer check - #80

Merged
zackslash merged 1 commit into
mainfrom
fix/export-scrollback-spacer-perf
Jul 18, 2026
Merged

Avoid redundant grid_ref in exportScrollback spacer check#80
zackslash merged 1 commit into
mainfrom
fix/export-scrollback-spacer-perf

Conversation

@zackslash

Copy link
Copy Markdown
Owner

exportScrollback() called isWideCharSpacer() per cell, which re-acquired a grid_ref that was already held — doubling grid-ref traffic on every export. Now reuses the held ref's cell via isWideSpacerCell(), matching the pattern extractSearchText() already uses.

@zackslash
zackslash merged commit cbbd8c3 into main Jul 18, 2026
3 checks passed
@zackslash
zackslash deleted the fix/export-scrollback-spacer-perf branch July 18, 2026 18:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant