diff --git a/menu.c b/menu.c index 1969cef4..7f6933c5 100644 --- a/menu.c +++ b/menu.c @@ -226,7 +226,7 @@ menu_key_cb(struct client *c, struct key_event *event) goto chosen; } } - switch (event->key) { + switch (event->key & ~KEYC_MASK_FLAGS) { case KEYC_UP: case 'k': if (old == -1)