artulab
projects
/
openbsd
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c81317a
)
When resetting attributes (VT_NORMAL), do a proper color set.
author
aaron
<aaron@openbsd.org>
Wed, 12 Apr 2000 13:20:41 +0000
(13:20 +0000)
committer
aaron
<aaron@openbsd.org>
Wed, 12 Apr 2000 13:20:41 +0000
(13:20 +0000)
sys/arch/i386/isa/pcvt/pcvt_vtf.c
patch
|
blob
|
history
diff --git
a/sys/arch/i386/isa/pcvt/pcvt_vtf.c
b/sys/arch/i386/isa/pcvt/pcvt_vtf.c
index
0bc05a2
..
86b5a66
100644
(file)
--- 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.1
4 2000/03/30 21:02:1
1 aaron Exp $ */
+/* $OpenBSD: pcvt_vtf.c,v 1.1
5 2000/04/12 13:20:4
1 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 */