Skip to content

Conversation

@flyingpie
Copy link
Owner

@flyingpie flyingpie commented Jul 18, 2025

Fixed an issue where ToUnicodeEx could return a length of -1, but still write characters to the output buffer (wrongly assumed that the result was the length of the data written to the buffer).
These used to be discarded due to the negative length, now we're just trimming the buffer regardless of the length.

Changing the keyboard layout whilst WTQ is running can cause some issues, namely the wrong key characters coming back from the key code -> key char conversion.

@flyingpie flyingpie merged commit 5810fbc into master Aug 10, 2025
5 checks passed
@flyingpie flyingpie deleted the keyboard-layout-bugfix branch August 10, 2025 17:49
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.

2 participants