Skip to content

Commit

Permalink
Merge pull request xtermjs#3332 from Tyriar/scroll_refresh
Browse files Browse the repository at this point in the history
Make sure all rows are refreshed on input
  • Loading branch information
Tyriar authored May 11, 2021
2 parents 8f9f255 + bcbcc71 commit 33f0105
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/browser/Viewport.ts
Original file line number Diff line number Diff line change
Expand Up @@ -151,6 +151,8 @@ export class Viewport extends Disposable implements IViewport {
// Ignore the event if it was flagged to ignore (when the source of the event is from Viewport)
if (this._ignoreNextScrollEvent) {
this._ignoreNextScrollEvent = false;
// Still trigger the scroll so lines get refreshed
this._scrollLines(0);
return;
}

Expand Down

0 comments on commit 33f0105

Please sign in to comment.