Allow switching tabs with just numbers

This commit is contained in:
Přemysl Eric Janouch 2016-10-11 08:57:40 +02:00
parent c0e07ec5d1
commit b3d9ac2514
Signed by: p
GPG Key ID: B715679E3A361BE6
1 changed files with 1 additions and 1 deletions

View File

@ -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')
{