diff options
author | Dimitry Andric <dim@cvs.openbsd.org> | 2006-10-19 17:35:10 +0000 |
---|---|---|
committer | Dimitry Andric <dim@cvs.openbsd.org> | 2006-10-19 17:35:10 +0000 |
commit | 170d9ec2173d9dc2e673db1fdf883ccd105411b0 (patch) | |
tree | cb38fd8ff4158d4e4e5b23a4b121e095be65fab9 | |
parent | 031a17a2c18532b89eff8c13ead083ce612f55e0 (diff) |
Fix hopefully the last wscons jump scrolling glitch, which can occur
in case autowrapping is on, and control characters other than BS, CR,
HT are encountered.
Righto! miod@, also verified by Paul Stoeber.
-rw-r--r-- | sys/dev/wscons/wsemul_vt100.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/dev/wscons/wsemul_vt100.c b/sys/dev/wscons/wsemul_vt100.c index 56c69fef605..78c4ba28e1a 100644 --- a/sys/dev/wscons/wsemul_vt100.c +++ b/sys/dev/wscons/wsemul_vt100.c @@ -1,4 +1,4 @@ -/* $OpenBSD: wsemul_vt100.c,v 1.14 2006/10/09 05:21:50 miod Exp $ */ +/* $OpenBSD: wsemul_vt100.c,v 1.15 2006/10/19 17:35:09 dim Exp $ */ /* $NetBSD: wsemul_vt100.c,v 1.13 2000/04/28 21:56:16 mycroft Exp $ */ /* @@ -1015,6 +1015,8 @@ wsemul_vt100_output(cookie, data, count, kernel) } break; default: + if ((curchar & 0x7f) < 0x20) + break; if (pos++ >= NCOLS) { pos = 0; curchar = ASCII_LF; |