Skip to content

Commit

Permalink
Fix renderer pausing to not full refresh every time
Browse files Browse the repository at this point in the history
Fixes #1975
  • Loading branch information
Tyriar committed Mar 23, 2019
1 parent 99beeb2 commit 131e4f7
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/renderer/Renderer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,7 @@ export class Renderer extends EventEmitter implements IRenderer {
this._isPaused = entry.intersectionRatio === 0;
if (!this._isPaused && this._needsFullRefresh) {
this._terminal.refresh(0, this._terminal.rows - 1);
this._needsFullRefresh = false;
}
}

Expand Down

0 comments on commit 131e4f7

Please sign in to comment.