Don't use current attributes for history lines
This commit is contained in:
parent
a727f73541
commit
edcc9ee4e1
1 changed files with 2 additions and 2 deletions
4
st/st.c
4
st/st.c
|
@ -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 = ' ';
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue