pkgsrc/x11/gnome-libs/patches/patch-ao
2000-10-17 23:57:43 +00:00

14 lines
428 B
Text

$NetBSD: patch-ao,v 1.2 2000/10/17 23:57:46 jlam Exp $
--- zvt/vt.c.orig Sat Mar 18 02:57:13 2000
+++ zvt/vt.c
@@ -1154,7 +1154,8 @@
for (j = 0; j < vt->argcnt; j++) {
i = vt->arg.num.intargs[j];
- if (i==0 || i==27) {
+ if (i==0) {
+ /* \E[27m only clears reverse video, not all attributes - mycroft */
vt->attr=VTATTR_CLEAR;
} else if (i<9) {
vt->attr |= mode_map[i]; /* add a mode */