Don't use current attributes for history lines

This commit is contained in:
Ashish Kumar Yadav 2021-07-31 23:45:49 +05:30
parent a727f73541
commit edcc9ee4e1

View file

@ -2712,8 +2712,8 @@ tresize(int col, int row)
term.hist[i] = xrealloc(term.hist[i], term.maxcol * sizeof(Glyph));
for (j = pmaxcol; j < term.maxcol; j++) {
gp = &term.hist[i][j];
gp->fg = term.c.attr.fg;
gp->bg = term.c.attr.bg;
gp->fg = defaultfg;
gp->bg = defaultbg;
gp->mode = 0;
gp->u = ' ';
}