diff options
author | Rich Felker <dalias@aerifal.cx> | 2006-10-03 09:19:45 +0000 |
---|---|---|
committer | Rich Felker <dalias@aerifal.cx> | 2006-10-03 09:19:45 +0000 |
commit | e617ed8f3b9152b52d5b0d358682a4a0347caf8a (patch) | |
tree | 4771465b5dd719f10cc4c1d9f19bbd4de765121b /fbcon.c | |
parent | 6893c01cd8311446ff26f68bf22ddfb021c309ce (diff) |
control-_ was broken; hope nothing new is broken now..
Diffstat (limited to 'fbcon.c')
-rw-r--r-- | fbcon.c | 5 |
1 files changed, 2 insertions, 3 deletions
@@ -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; |