summaryrefslogtreecommitdiffstats
path: root/ScreenManager.c
diff options
context:
space:
mode:
Diffstat (limited to 'ScreenManager.c')
-rw-r--r--ScreenManager.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/ScreenManager.c b/ScreenManager.c
index d7353b79..3df812c3 100644
--- a/ScreenManager.c
+++ b/ScreenManager.c
@@ -231,7 +231,9 @@ void ScreenManager_run(ScreenManager* this, Panel** lastFocus, int* lastKey) {
}
if (Panel_eventHandlerFn(panelFocus)) {
HandlerResult result = Panel_eventHandler(panelFocus, ch);
-//fprintf(stderr, "eventResult=%d ", result);
+ if (result & SYNTH_KEY) {
+ ch = result >> 16;
+ }
if (result & REFRESH) {
doRefresh = true;
sortTimeout = 0;