mirror of
https://git.hardenedbsd.org/hardenedbsd/HardenedBSD.git
synced 2024-12-22 08:53:41 +01:00
Forget to exit alt charset mode, critical for non-cons25r
terminals wits as/ae
This commit is contained in:
parent
4abc71c008
commit
733e641beb
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=4798
@ -64,6 +64,8 @@ chtype turn_off, turn_on;
|
||||
T(("previous attribute was %s", _traceattr(previous_attr)));
|
||||
|
||||
if (newmode == A_NORMAL && exit_attribute_mode) {
|
||||
if((previous_attr & A_ALTCHARSET) && exit_alt_charset_mode)
|
||||
tputs(exit_alt_charset_mode, 1, outc);
|
||||
tputs(exit_attribute_mode, 1, outc);
|
||||
current_pair = -1;
|
||||
goto set_color;
|
||||
|
Loading…
Reference in New Issue
Block a user