Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion src/ghosttyvt.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -610,7 +610,10 @@ QByteArray GhosttyVt::exportScrollback(uint16_t &outCols, uint16_t &outRows) con

// Skip wide character spacer cells — they have no text content
// but would otherwise be exported as phantom spaces.
if (isWideCharSpacer(m_terminal, col, static_cast<uint32_t>(row)))
// Reuse the grid ref above instead of isWideCharSpacer()'s second grid_ref.
GhosttyCell cell = 0;
if (ghostty_grid_ref_cell(&ref, &cell) == GHOSTTY_SUCCESS
&& isWideSpacerCell(cell))
continue;

size_t graphemeLen = 0;
Expand Down
Loading