|
@@ -2700,14 +2700,12 @@ tresize(int col, int row) {
|
|
|
|
|
|
|
|
|
for(i = 0; i < minrow; i++) {
|
|
|
- term.dirty[i] = 1;
|
|
|
term.line[i] = xrealloc(term.line[i], col * sizeof(Glyph));
|
|
|
term.alt[i] = xrealloc(term.alt[i], col * sizeof(Glyph));
|
|
|
}
|
|
|
|
|
|
|
|
|
for(; i < row; i++) {
|
|
|
- term.dirty[i] = 1;
|
|
|
term.line[i] = xmalloc(col * sizeof(Glyph));
|
|
|
term.alt[i] = xmalloc(col * sizeof(Glyph));
|
|
|
}
|
|
@@ -2727,7 +2725,7 @@ tresize(int col, int row) {
|
|
|
tsetscroll(0, row-1);
|
|
|
|
|
|
tmoveto(term.c.x, term.c.y);
|
|
|
-
|
|
|
+
|
|
|
orig = term.line;
|
|
|
c = term.c;
|
|
|
do {
|