mirror of
https://git.tartarus.org/simon/putty.git
synced 2025-01-25 01:02:24 +00:00
Make true colour work with background-colour erase.
Thanks to Markus Gans for reporting this bug.
This commit is contained in:
parent
1a718403d4
commit
96a088195f
@ -1407,9 +1407,11 @@ void term_pwron(Terminal *term, int clear)
|
|||||||
static void set_erase_char(Terminal *term)
|
static void set_erase_char(Terminal *term)
|
||||||
{
|
{
|
||||||
term->erase_char = term->basic_erase_char;
|
term->erase_char = term->basic_erase_char;
|
||||||
if (term->use_bce)
|
if (term->use_bce) {
|
||||||
term->erase_char.attr = (term->curr_attr &
|
term->erase_char.attr = (term->curr_attr &
|
||||||
(ATTR_FGMASK | ATTR_BGMASK));
|
(ATTR_FGMASK | ATTR_BGMASK));
|
||||||
|
term->erase_char.truecolour.bg = term->curr_truecolour.bg;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
Loading…
Reference in New Issue
Block a user