diff options
author | Miod Vallat <miod@cvs.openbsd.org> | 2004-12-23 21:47:48 +0000 |
---|---|---|
committer | Miod Vallat <miod@cvs.openbsd.org> | 2004-12-23 21:47:48 +0000 |
commit | 34273868d59e739c2529893b2d252f1f4a319179 (patch) | |
tree | 7ce3fd7813850405b2582e6db209a61b449a4221 /sys/dev/wscons/wsemul_vt100var.h | |
parent | 9f9b522b4acc3be36581258fb278fcbf51b1c87a (diff) |
vt100 wscons crashes restoring cursor if it had never been saved before.
From NetBSD (wsemul_vt100.c 1.24, wsemul_vt100var.h 1.7)
Diffstat (limited to 'sys/dev/wscons/wsemul_vt100var.h')
-rw-r--r-- | sys/dev/wscons/wsemul_vt100var.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/dev/wscons/wsemul_vt100var.h b/sys/dev/wscons/wsemul_vt100var.h index 198f2ee5d86..1c9eb66c81b 100644 --- a/sys/dev/wscons/wsemul_vt100var.h +++ b/sys/dev/wscons/wsemul_vt100var.h @@ -1,4 +1,4 @@ -/* $OpenBSD: wsemul_vt100var.h,v 1.4 2004/04/02 04:39:51 deraadt Exp $ */ +/* $OpenBSD: wsemul_vt100var.h,v 1.5 2004/12/23 21:47:47 miod Exp $ */ /* $NetBSD: wsemul_vt100var.h,v 1.5 2000/04/28 21:56:17 mycroft Exp $ */ /* @@ -52,6 +52,7 @@ struct wsemul_vt100_emuldata { #define VTFL_DECAWM 0x020 /* auto wrap */ #define VTFL_CURSORON 0x040 #define VTFL_NATCHARSET 0x080 /* national replacement charset mode */ +#define VTFL_SAVEDCURS 0x100 /* we have a saved cursor state */ long curattr, bkgdattr; /* currently used attribute */ int attrflags, fgcol, bgcol; /* properties of curattr */ u_int scrreg_startrow; |