Skip to content

Commit

Permalink
Merge pull request #1976 from Tyriar/1975_renderer_pause_fix
Browse files Browse the repository at this point in the history
Fix renderer pausing to not full refresh every time
  • Loading branch information
Tyriar committed Mar 30, 2019
2 parents 10b7b46 + 131e4f7 commit 84d5963
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 84d5963

Please sign in to comment.