mirror of
https://git.tartarus.org/simon/putty.git
synced 2025-01-09 17:38:00 +00:00
Mid-session BCE reconfiguration wasn't taking effect immediately
because I forgot to set term->erase_char in response to the change in term->use_bce. Oops. [originally from svn r3105]
This commit is contained in:
parent
4b6ffd99f1
commit
8f94dd3881
@ -321,8 +321,15 @@ void term_reconfig(Terminal *term, Config *cfg)
|
||||
term->alt_wrap = term->wrap = term->cfg.wrap_mode;
|
||||
if (reset_decom)
|
||||
term->alt_om = term->dec_om = term->cfg.dec_om;
|
||||
if (reset_bce)
|
||||
if (reset_bce) {
|
||||
term->use_bce = term->cfg.bce;
|
||||
if (term->use_bce)
|
||||
term->erase_char = (' ' | ATTR_ASCII |
|
||||
(term->curr_attr &
|
||||
(ATTR_FGMASK | ATTR_BGMASK)));
|
||||
else
|
||||
term->erase_char = ERASE_CHAR;
|
||||
}
|
||||
if (reset_blink)
|
||||
term->blink_is_real = term->cfg.blinktext;
|
||||
if (reset_charclass)
|
||||
|
Loading…
Reference in New Issue
Block a user