Merge pull request #3960 from Tyriar/init_options

Make cols/rows only usable in the ctor
This commit is contained in:
Daniel Imms
2022-07-29 07:20:51 -07:00
committed by GitHub
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);
}
}
})