summaryrefslogtreecommitdiff
path: root/sys/arch/i386/isa/pcvt
diff options
context:
space:
mode:
authorAaron Campbell <aaron@cvs.openbsd.org>2000-04-12 13:20:42 +0000
committerAaron Campbell <aaron@cvs.openbsd.org>2000-04-12 13:20:42 +0000
commit12fef33ea0f31d5e031ca2645e9c902fc93fc989 (patch)
treec00bc4eaed22e913e13770524ba4e189d028179e /sys/arch/i386/isa/pcvt
parent4ccbd59fc8208b3afdab25183262cae5f51d3a92 (diff)
When resetting attributes (VT_NORMAL), do a proper color set.
Diffstat (limited to 'sys/arch/i386/isa/pcvt')
-rw-r--r--sys/arch/i386/isa/pcvt/pcvt_vtf.c8
1 files changed, 5 insertions, 3 deletions
diff --git a/sys/arch/i386/isa/pcvt/pcvt_vtf.c b/sys/arch/i386/isa/pcvt/pcvt_vtf.c
index 0bc05a2aaa1..86b5a666f41 100644
--- a/sys/arch/i386/isa/pcvt/pcvt_vtf.c
+++ b/sys/arch/i386/isa/pcvt/pcvt_vtf.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: pcvt_vtf.c,v 1.14 2000/03/30 21:02:11 aaron Exp $ */
+/* $OpenBSD: pcvt_vtf.c,v 1.15 2000/04/12 13:20:41 aaron Exp $ */
/*
* Copyright (c) 1992, 1995 Hellmuth Michaelis and Joerg Wunsch.
@@ -146,8 +146,10 @@ vt_sgr(struct video_state *svsp)
switch(svsp->parms[i++]) {
case 0: /* reset to normal attributes */
svsp->vtsgr = VT_NORMAL;
- if (pcdisp)
- setcolor = 0;
+ if (pcdisp) {
+ setcolor = (FG_LIGHTGREY << 8);
+ colortouched = 1;
+ }
break;
case 1: /* bold */