mirror of
https://git.tartarus.org/simon/putty.git
synced 2025-04-21 04:55:02 -05:00
Setting an 8-bit colour should cancel a 24-bit colour
This commit is contained in:
parent
916a2574d5
commit
298b9fd4d4
@ -4031,6 +4031,8 @@ static void term_out(Terminal *term)
|
|||||||
term->curr_attr |=
|
term->curr_attr |=
|
||||||
((term->esc_args[i+2] & 0xFF)
|
((term->esc_args[i+2] & 0xFF)
|
||||||
<< ATTR_FGSHIFT);
|
<< ATTR_FGSHIFT);
|
||||||
|
term->curr_truecolour.fg =
|
||||||
|
optionalrgb_none;
|
||||||
i += 2;
|
i += 2;
|
||||||
}
|
}
|
||||||
if (i + 4 < term->esc_nargs &&
|
if (i + 4 < term->esc_nargs &&
|
||||||
@ -4048,6 +4050,8 @@ static void term_out(Terminal *term)
|
|||||||
term->curr_attr |=
|
term->curr_attr |=
|
||||||
((term->esc_args[i+2] & 0xFF)
|
((term->esc_args[i+2] & 0xFF)
|
||||||
<< ATTR_BGSHIFT);
|
<< ATTR_BGSHIFT);
|
||||||
|
term->curr_truecolour.bg =
|
||||||
|
optionalrgb_none;
|
||||||
i += 2;
|
i += 2;
|
||||||
}
|
}
|
||||||
if (i + 4 < term->esc_nargs &&
|
if (i + 4 < term->esc_nargs &&
|
||||||
|
Loading…
x
Reference in New Issue
Block a user