diff options
author | Jason Wright <jason@cvs.openbsd.org> | 2002-09-05 17:12:04 +0000 |
---|---|---|
committer | Jason Wright <jason@cvs.openbsd.org> | 2002-09-05 17:12:04 +0000 |
commit | 605a19f971a42ef55c87e9e23e1e109c04e9305d (patch) | |
tree | af9d30afa94409eca69cc426bb7aa15246ffb799 | |
parent | d11f6fdafbd5cc160f9bebbd85fab11b867109a5 (diff) |
Do not print the ASCII_ESC character.
-rw-r--r-- | sys/dev/wscons/wsemul_sun.c | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/sys/dev/wscons/wsemul_sun.c b/sys/dev/wscons/wsemul_sun.c index b8919392e3b..457d687b363 100644 --- a/sys/dev/wscons/wsemul_sun.c +++ b/sys/dev/wscons/wsemul_sun.c @@ -1,4 +1,4 @@ -/* $OpenBSD: wsemul_sun.c,v 1.7 2002/08/29 22:19:33 miod Exp $ */ +/* $OpenBSD: wsemul_sun.c,v 1.8 2002/09/05 17:12:03 jason Exp $ */ /* $NetBSD: wsemul_sun.c,v 1.11 2000/01/05 11:19:36 drochner Exp $ */ /* @@ -280,12 +280,9 @@ wsemul_sun_output_normal(edp, c, kernel) break; /* ignore the ESC */ } - if (edp->state == SUN_EMUL_STATE_NORMAL) { + if (edp->state == SUN_EMUL_STATE_NORMAL) newstate = SUN_EMUL_STATE_HAVEESC; - break; - } - /* special case: fall through, we're printing one out */ - /* FALLTHRU */ + break; default: /* normal character */ (*edp->emulops->putchar)(edp->emulcookie, edp->crow, edp->ccol, |