diff options
author | Přemysl Janouch <p.janouch@gmail.com> | 2016-10-11 08:57:40 +0200 |
---|---|---|
committer | Přemysl Janouch <p.janouch@gmail.com> | 2016-10-11 10:58:38 +0200 |
commit | b3d9ac251491f88bbc02694250fa4ce4620527ec (patch) | |
tree | 68d2e2c2b4a7afe4d31c7c7bb1a465d6f26e1d06 | |
parent | c0e07ec5d1bb313ae75859341b6906e62ab90f1e (diff) | |
download | nncmpp-b3d9ac251491f88bbc02694250fa4ce4620527ec.tar.gz nncmpp-b3d9ac251491f88bbc02694250fa4ce4620527ec.tar.xz nncmpp-b3d9ac251491f88bbc02694250fa4ce4620527ec.zip |
Allow switching tabs with just numbers
-rw-r--r-- | nncmpp.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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') { |