diff options
| author | Andrey A. Chernov <ache@FreeBSD.org> | 2000-07-20 13:12:58 +0000 |
|---|---|---|
| committer | Andrey A. Chernov <ache@FreeBSD.org> | 2000-07-20 13:12:58 +0000 |
| commit | 598cad91fdab49db0267785b8e1efafe5042ed40 (patch) | |
| tree | 07e0c2c5af7c36e224b6359ef2d974982334e647 /sys/dev/syscons | |
| parent | 55c01a42ed06c1222e34acea2c6ad8367da77276 (diff) | |
Notes
Diffstat (limited to 'sys/dev/syscons')
| -rw-r--r-- | sys/dev/syscons/scterm-sc.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/syscons/scterm-sc.c b/sys/dev/syscons/scterm-sc.c index cb6ea232f6cd..fc555b44b46f 100644 --- a/sys/dev/syscons/scterm-sc.c +++ b/sys/dev/syscons/scterm-sc.c @@ -407,7 +407,7 @@ scterm_scan_esc(scr_stat *scp, term_stat *tcp, u_char c) tcp->cur_attr = mask2attr(tcp); break; case 39: /* restore fg color back to normal */ - tcp->attr_mask &= BG_CHANGED; + tcp->attr_mask &= ~(FG_CHANGED|BOLD_ATTR); tcp->cur_color.fg = tcp->std_color.fg; tcp->cur_attr = mask2attr(tcp); break; @@ -419,7 +419,7 @@ scterm_scan_esc(scr_stat *scp, term_stat *tcp, u_char c) tcp->cur_attr = mask2attr(tcp); break; case 49: /* restore bg color back to normal */ - tcp->attr_mask &= ~(BG_CHANGED|REVERSE_ATTR); + tcp->attr_mask &= ~BG_CHANGED; tcp->cur_color.bg = tcp->std_color.bg; tcp->cur_attr = mask2attr(tcp); break; |
