Skip to content

Fix GUI input to follow the OS keyboard layout - #85

Merged
ernestrc merged 2 commits into
mainfrom
RUNE-343
Sep 17, 2026
Merged

ernestrc merged 2 commits into
mainfrom
RUNE-343

Conversation

@ernestrc

Copy link
Copy Markdown
Contributor

Fixes #59, #67 and #74.

Ctrl/Alt/Meta chords took their character from a static US-QWERTY table indexed
by the physical key, while plain typing already followed the user's layout. On
AZERTY the key labelled M reported <alt-;>, Colemak Ctrl+Shift+P did nothing and
opened the command prompt on Ctrl+Shift+; instead, and on Nordic layouts Cmd +
shrank the font because + sits on the US minus key. The chord path has to
synthesize its character, because a macOS Cmd chord commits no text, Option
composes, and Ctrl yields control bytes, so only the platform knows what a key
means under the active layout.

Fixes #59, #67 and #74.

Signed-off-by: ernestrc <[email protected]>
Both told users to press meta and "+" to enlarge the UI font, but the
guifontsize increase binding is <meta-=>, which types "+" only on a US
keyboard where the unshifted key produces "=". On any layout where "+" is
not the unshifted character on that key, the instruction names a gesture
that does not fire the binding.

Signed-off-by: ernestrc <[email protected]>
@ernestrc
ernestrc merged commit 12ff86c into main Sep 17, 2026
8 checks passed
@ernestrc
ernestrc deleted the RUNE-343 branch September 17, 2026 00:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Ctrl+Shift+P reads scancode instead of layout keys

1 participant