Set minimum scrollback value to number of rows if needed on resize
This commit is contained in:
@@ -1915,6 +1915,10 @@ Terminal.prototype.resize = function(x, y) {
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (y > this.getOption('scrollback')) {
|
||||||
|
this.setOption('scrollback', y)
|
||||||
|
}
|
||||||
|
|
||||||
var line
|
var line
|
||||||
, el
|
, el
|
||||||
, i
|
, i
|
||||||
|
|||||||
Reference in New Issue
Block a user