diff options
author | ache <ache@FreeBSD.org> | 1994-11-24 15:09:30 +0000 |
---|---|---|
committer | ache <ache@FreeBSD.org> | 1994-11-24 15:09:30 +0000 |
commit | 8554dc18cac6d673d3fc802c03717259c7454c4d (patch) | |
tree | d9a56a7d2b1fe3e62aa341a07ff21ce656b028d1 /lib | |
parent | bbd60ec5ee90b98feac9d2847a8cb68e8afc527f (diff) | |
download | FreeBSD-src-8554dc18cac6d673d3fc802c03717259c7454c4d.zip FreeBSD-src-8554dc18cac6d673d3fc802c03717259c7454c4d.tar.gz |
Forget to exit alt charset mode, critical for non-cons25r
terminals wits as/ae
Diffstat (limited to 'lib')
-rw-r--r-- | lib/libncurses/lib_vidattr.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/libncurses/lib_vidattr.c b/lib/libncurses/lib_vidattr.c index a3bd4c7..e3efebb 100644 --- a/lib/libncurses/lib_vidattr.c +++ b/lib/libncurses/lib_vidattr.c @@ -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; |