summaryrefslogtreecommitdiff
path: root/nncmpp.c
diff options
context:
space:
mode:
Diffstat (limited to 'nncmpp.c')
-rw-r--r--nncmpp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/nncmpp.c b/nncmpp.c
index 73493e0..e5e98a4 100644
--- a/nncmpp.c
+++ b/nncmpp.c
@@ -1896,7 +1896,7 @@ app_process_termo_event (termo_key_t *event)
}
// TODO: parametrize actions, put this among other bindings
- if (event->modifiers == TERMO_KEYMOD_ALT
+ if (!(event->modifiers & ~TERMO_KEYMOD_ALT)
&& event->code.codepoint >= '0'
&& event->code.codepoint <= '9')
{