diff options
author | Aaron Campbell <aaron@cvs.openbsd.org> | 2001-06-09 01:39:32 +0000 |
---|---|---|
committer | Aaron Campbell <aaron@cvs.openbsd.org> | 2001-06-09 01:39:32 +0000 |
commit | 5e5c2070513209653bad684857573c47fbfc66c9 (patch) | |
tree | 47777cf9dd3dc1d490ba27370f23987b6d1a6b67 /sys/dev | |
parent | d0268e4b3755e984381fb2c1b17720ac9320960f (diff) |
Allow wskbd_cngetc() to return any key pressed, not just ones in the ASCII
group; fixes PR/1787. This mimics the behavior of pccons and pcvt; mickey@ ok
Diffstat (limited to 'sys/dev')
-rw-r--r-- | sys/dev/wscons/wskbd.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/sys/dev/wscons/wskbd.c b/sys/dev/wscons/wskbd.c index 71be0e9ad25..5c47d1c19b2 100644 --- a/sys/dev/wscons/wskbd.c +++ b/sys/dev/wscons/wskbd.c @@ -1,4 +1,4 @@ -/* $OpenBSD: wskbd.c,v 1.18 2001/06/08 03:23:26 mickey Exp $ */ +/* $OpenBSD: wskbd.c,v 1.19 2001/06/09 01:39:31 aaron Exp $ */ /* $NetBSD: wskbd.c,v 1.38 2000/03/23 07:01:47 thorpej Exp $ */ /* @@ -1222,7 +1222,6 @@ wskbd_cngetc(dev) for(;;) { if (num-- > 0) { ks = wskbd_console_data.t_symbols[pos++]; - if (KS_GROUP(ks) == KS_GROUP_Ascii) return (KS_VALUE(ks)); } else { (*wskbd_console_data.t_consops->getc) |