diff options
author | Avi Halachmi (:avih) <avihpit@yahoo.com> | 2023-07-20 22:48:41 +0300 |
---|---|---|
committer | Avi Halachmi (:avih) <avihpit@yahoo.com> | 2023-07-21 10:13:12 +0300 |
commit | 4fe7e7cdd0441e9455cc93c17b40a7a96704e61f (patch) | |
tree | 7facce159f51486696dd2adf180800c32b3f9444 /arch | |
parent | 72b97c86c6c1a1902d6dcda3da7c38db13585cdc (diff) | |
download | busybox-w32-4fe7e7cdd0441e9455cc93c17b40a7a96704e61f.tar.gz busybox-w32-4fe7e7cdd0441e9455cc93c17b40a7a96704e61f.tar.bz2 busybox-w32-4fe7e7cdd0441e9455cc93c17b40a7a96704e61f.zip |
win32: UTF8 input: improve missing-key-down hack
The UTF8 input code works around an issue when pasting at the
windows console (but not terminal) that sometimes we get key-up
without a prior matching key-down - at which case it generates down.
However, previously it detected this by comparing an up-event to the
last down-event, which could result in false-positive in cases like:
X-down Y-down X-up Y-up (e.g. when typing quickly).
Now it remembers the last 8 key-down events when searching a prior
matching key-down, which fixes an issue of incorrect repeated keys
(in the example above Y-up was incorrectly changed to Y-down).
Diffstat (limited to 'arch')
0 files changed, 0 insertions, 0 deletions