1
0
mirror of https://git.tartarus.org/simon/putty.git synced 2025-01-09 17:38:00 +00:00

Make true colour work with background-colour erase.

Thanks to Markus Gans for reporting this bug.
This commit is contained in:
Simon Tatham 2017-10-08 13:43:27 +01:00
parent 1a718403d4
commit 96a088195f

View File

@ -1407,9 +1407,11 @@ void term_pwron(Terminal *term, int clear)
static void set_erase_char(Terminal *term)
{
term->erase_char = term->basic_erase_char;
if (term->use_bce)
if (term->use_bce) {
term->erase_char.attr = (term->curr_attr &
(ATTR_FGMASK | ATTR_BGMASK));
term->erase_char.truecolour.bg = term->curr_truecolour.bg;
}
}
/*