Make cols/rows only usable in the ctor

Fixes #3825
This commit is contained in:
Daniel Imms
2022-07-28 11:16:12 -07:00
parent 04b513cf9b
commit 006249ce65
3 changed files with 21 additions and 15 deletions
+1 -1
View File
@@ -54,7 +54,7 @@ export function enableLigatures(term: Terminal): void {
// Only refresh things if we actually found a font
if (f) {
term.refresh(0, term.options.rows! - 1);
term.refresh(0, term.rows - 1);
}
}
})