term: modify term_fill() to optionally reset the SGR attributes

This commit is contained in:
Daniel Eklöf 2021-12-26 16:05:18 +01:00
parent 189cfd717f
commit b3a84ba71b
No known key found for this signature in database
GPG key ID: 5BBD4992C116573F
3 changed files with 10 additions and 4 deletions

2
csi.c
View file

@ -1942,7 +1942,7 @@ csi_dispatch(struct terminal *term, uint8_t final)
term, top, left, bottom - top + 1, right - left + 1);
for (int r = top; r <= bottom; r++)
term_fill(term, r, left, c, right - left + 1);
term_fill(term, r, left, c, right - left + 1, true);
}
break;
}