Set minimum scrollback value to number of rows if needed on resize

This commit is contained in:
irokas
2017-07-02 21:10:18 +00:00
parent 31aab8ea6f
commit 0a5d7a7bd2
+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