aboutsummaryrefslogtreecommitdiff
path: root/CHANGELOG.md
diff options
context:
space:
mode:
authorDaniel Eklöf <daniel@ekloef.se>2025-01-27 09:51:03 +0000
committerDaniel Eklöf <daniel@ekloef.se>2025-01-27 11:31:40 +0000
commit8d6f0d0583a1cb7c245ff54ec472a03ebcdb6949 (patch)
treeb532ad7ac6db0738c01ce6ddb8e646f121441d9d /CHANGELOG.md
parentforgejo: application -> application(s) (diff)
key-bindings: try all bindings in translated mode before matching untranslated, and then finally raw
When trying to match key bindings, we do three types of matching: * Match the _translated_ symbol (e.g. Control+C) * Match the _untranslated_ symbol (e.g. Control+Shift+c) * Match raw keyboard codes This was done for *each* key binding. This meant we sometimes matched a keybinding in raw mode, even though there was a translated/untranslated binding that would match it too. All depending on the internal order of the key binding list. This patch changes it, so that we first try all bindings in translated mode, then all bindings in untranslated mode, and finally all bindings in raw mode. Closes #1929
Diffstat (limited to 'CHANGELOG.md')
-rw-r--r--CHANGELOG.md3
1 files changed, 3 insertions, 0 deletions
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 97becf79..61559359 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -89,8 +89,11 @@
double-width glyph that was pushed to the next line due to there
being only one cell left on current line, did not remove the virtual
space inserted at the end of the current line.
+* Wrong key bindings executed when using alternative keyboard layouts
+ ([#1929][1929]).
[1918]: https://codeberg.org/dnkl/foot/issues/1918
+[1929]: https://codeberg.org/dnkl/foot/issues/1929
### Security