Replies: 1 comment
-
|
I’ve attached a single-file patch (src/input_ |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi!
First, thanks for Whisper-Writer – it’s been really helpful. While using it on a Russian keyboard layout I ran into a long-standing issue: whenever Whisper-Writer prints a period (.) it actually types the Cyrillic letter «ю», and similarly other punctuation marks are wrong or missing.
Root cause
InputSimulator presses the physical key corresponding to VK_OEM_PERIOD without determining which modifiers are required for the *current keyboard layout of the target window. On a RU layout that physical key naturally yields «ю».
Minimal fix
This way Whisper-Writer sends exactly the same key sequence a user would type manually, so punctuation is always correct in any layout (tested on RU, EN). It removes the need for layout switching, Unicode SendInput, or clipboard work-arounds.
Beta Was this translation helpful? Give feedback.
All reactions