keymap: use same lookup table for Tab and ISO_Left_Tab

With XKB, Shift+Tab maps to XKB_KEY_ISO_Left_Tab, not
XKB_Key_Tab. Previously, we had two different lookup tables for the
two.

The tab table was correctly populated, while the ISO-left tab
wasn’t. As a result, all Shift+Tab combos (except Shift+Tab itself)
was wrong, and resulted in the same escape sequence as Shift+Tab.

Fix by using the same table for both tab and ISO-left tab.

Closes #210
This commit is contained in:
Daniel Eklöf 2020-11-19 19:15:13 +01:00
parent ca150fbdd5
commit 3a3616af96
No known key found for this signature in database
GPG key ID: 5BBD4992C116573F
3 changed files with 5 additions and 7 deletions

View file

@ -35,6 +35,8 @@
* Resize very slow when window is hidden
(https://codeberg.org/dnkl/foot/issues/190).
* Key mappings for key combinations with `shift`+`tab`
(https://codeberg.org/dnkl/foot/issues/210).
## 1.5.3