Skip to content

Commit

Permalink
Merge pull request #133 from Tyriar/132_fix_constant_focus
Browse files Browse the repository at this point in the history
Only refresh when asked
  • Loading branch information
parisk authored Jun 15, 2016
2 parents 055614b + fac964b commit d5e8390
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/xterm.js
Original file line number Diff line number Diff line change
Expand Up @@ -332,6 +332,7 @@
window.setInterval(function () {
self.isRefreshing = false;
if (self.queuedRefresh) {
self.queuedRefresh = false;
// Do a full refresh in case multiple refreshes were requested.
self.refresh(0, self.rows - 1);
}
Expand Down

0 comments on commit d5e8390

Please sign in to comment.