Merge branch 'master' into mousedown_counter
This commit is contained in:
@@ -1939,6 +1939,10 @@ Terminal.prototype.resize = function(x, y) {
|
|||||||
, addToY;
|
, addToY;
|
||||||
|
|
||||||
if (x === this.cols && y === this.rows) {
|
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;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user