From e617ed8f3b9152b52d5b0d358682a4a0347caf8a Mon Sep 17 00:00:00 2001 From: Rich Felker Date: Tue, 3 Oct 2006 09:19:45 +0000 Subject: control-_ was broken; hope nothing new is broken now.. --- fbcon.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/fbcon.c b/fbcon.c index 3fb9bac..99c4c20 100644 --- a/fbcon.c +++ b/fbcon.c @@ -118,9 +118,8 @@ static int mapkey(unsigned *m, unsigned k, unsigned char *s) if (rel || c > 0x80) return 0; if (*m & 9) c = keymap_sh[k]; if (*m & 18) { - c &= 0x1f; - //if (c >= '@') c &= 0x1f; - //else if (keymap_sh[k] >= '@') c = keymap_sh[k] & 0x1f; + if (keymap_sh[k] >= '@') c = keymap_sh[k] & 0x1f; + else c &= 0x1f; } s[i++] = c; return i; -- cgit v1.2.3