summaryrefslogtreecommitdiffstats
path: root/sys
diff options
context:
space:
mode:
authoryokota <yokota@FreeBSD.org>2000-02-11 01:20:34 +0000
committeryokota <yokota@FreeBSD.org>2000-02-11 01:20:34 +0000
commit8ed7679411ecef15fd207bbdddbdef1124e6aaa2 (patch)
tree838a8cf6b913bfdf792127ccb50aef302721844f /sys
parentad45d3253bd73e1c56c3e944b5ac64fd4e356470 (diff)
downloadFreeBSD-src-8ed7679411ecef15fd207bbdddbdef1124e6aaa2.zip
FreeBSD-src-8ed7679411ecef15fd207bbdddbdef1124e6aaa2.tar.gz
- Don't reset text colors when changing the video mode.
Approved by: jkh
Diffstat (limited to 'sys')
-rw-r--r--sys/dev/syscons/scterm-sc.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/dev/syscons/scterm-sc.c b/sys/dev/syscons/scterm-sc.c
index 6c5bfa8..0676836 100644
--- a/sys/dev/syscons/scterm-sc.c
+++ b/sys/dev/syscons/scterm-sc.c
@@ -145,8 +145,10 @@ scterm_init(scr_stat *scp, void **softc, int code)
tcp->esc = 0;
tcp->saved_xpos = -1;
tcp->saved_ypos = -1;
+#if 0
tcp->std_color = tcp->dflt_std_color;
tcp->rev_color = tcp->dflt_rev_color;
+#endif
tcp->cur_color = tcp->std_color;
tcp->cur_attr = mask2attr(tcp);
break;
OpenPOWER on IntegriCloud