Merge pull request #750 from irokas/Rows-fix

Set minimum scrollback value to number of rows if needed on resize
This commit is contained in:
Daniel Imms
2017-07-03 18:23:48 -07:00
committed by GitHub
+4
View File
@@ -1915,6 +1915,10 @@ Terminal.prototype.resize = function(x, y) {
return;
}
if (y > this.getOption('scrollback')) {
this.setOption('scrollback', y)
}
var line
, el
, i