mirror of
https://github.com/wavetermdev/xterm.js.git
synced 2026-08-05 13:43:48 -07:00
Merge pull request #117 from Tyriar/86_protect_max_refresh
Bound refresh max rows to this.rows not this.lines
This commit is contained in:
+2
-2
@@ -1216,9 +1216,9 @@
|
||||
width = this.cols;
|
||||
y = start;
|
||||
|
||||
if (end >= this.lines.length) {
|
||||
if (end >= this.rows.length) {
|
||||
this.log('`end` is too large. Most likely a bad CSR.');
|
||||
end = this.lines.length - 1;
|
||||
end = this.rows.length - 1;
|
||||
}
|
||||
|
||||
for (; y <= end; y++) {
|
||||
|
||||
Reference in New Issue
Block a user