Skip to content

Commit

Permalink
Merge branch 'master' into mousedown_counter
Browse files Browse the repository at this point in the history
  • Loading branch information
mofux committed Jul 12, 2017
2 parents 9bd5282 + 01453e9 commit d3fe3a1
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/xterm.js
Original file line number Diff line number Diff line change
Expand Up @@ -1939,6 +1939,10 @@ Terminal.prototype.resize = function(x, y) {
, addToY;

if (x === this.cols && y === this.rows) {
// Check if we still need to measure the char size (fixes #785).
if (!this.charMeasure.width || !this.charMeasure.height) {
this.charMeasure.measure();
}
return;
}

Expand Down

0 comments on commit d3fe3a1

Please sign in to comment.