Skip to content

Commit

Permalink
Trigger redraws via the active page buffer.
Browse files Browse the repository at this point in the history
  • Loading branch information
j4james committed Jun 21, 2024
1 parent 91b79c0 commit 6c072bb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/terminal/adapter/SixelParser.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -824,7 +824,7 @@ void SixelParser::_maybeFlushImageBuffer(const bool endOfSequence)
// Trigger a redraw of the affected rows in the renderer.
const auto topRowOffset = std::max(_imageOriginCell.y, 0);
const auto dirtyView = Viewport::FromExclusive({ 0, topRowOffset, page.Width(), rowOffset });
_dispatcher._renderer.TriggerRedraw(dirtyView);
page.Buffer().TriggerRedraw(dirtyView);

// If the start of the image is now above the top of the page, we
// won't be making any further updates to that content, so we can
Expand Down

0 comments on commit 6c072bb

Please sign in to comment.