We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 81d81dc + abd017f commit 01f923bCopy full SHA for 01f923b
1 file changed
source/brailleInput.py
@@ -21,6 +21,7 @@
21
import api
22
from baseObject import AutoPropertyObject
23
import keyLabels
24
+import struct
25
26
27
"""Framework for handling braille input from the user.
@@ -391,6 +392,7 @@ def sendChars(self, chars: str):
391
392
@param chars: The characters to send to the system.
393
"""
394
inputs = []
395
+ chars = ''.join(ch if ord(ch) <= 0xffff else ''.join(chr(x) for x in struct.unpack(">2H", ch.encode("utf-16be"))) for ch in chars)
396
for ch in chars:
397
for direction in (0,winUser.KEYEVENTF_KEYUP):
398
input = winUser.Input()
0 commit comments