From c345b72923b8027556c1208e647a8771105ed794 Mon Sep 17 00:00:00 2001
From: Oswald Buddenhagen <ossi@kde.org>
Date: Fri, 3 Apr 2009 00:10:10 +0200
Subject: [PATCH] make hotkeys which involve alt-gr work in the linux console
this is pretty much a hack. the real solution is waaay more complex
---
lib/tty/key.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lib/tty/key.c b/lib/tty/key.c
index 4abfc71d7..39dca1167 100644
a
|
b
|
get_modifier (void) |
984 | 984 | /* Translate Linux modifiers into mc modifiers */ |
985 | 985 | if ((modifiers & SHIFT_PRESSED) != 0) |
986 | 986 | result |= KEY_M_SHIFT; |
987 | | if ((modifiers & (ALTL_PRESSED | ALTR_PRESSED)) != 0) |
| 987 | if ((modifiers & ALTL_PRESSED) != 0) |
988 | 988 | result |= KEY_M_ALT; |
989 | 989 | if ((modifiers & CONTROL_PRESSED) != 0) |
990 | 990 | result |= KEY_M_CTRL; |