Skip to content

Keep Win32 IME character events - #6689

Draft
mmaxjr wants to merge 1 commit into
Textualize:mainfrom
mmaxjr:agent/fix-win32-ime-vk0
Draft

Keep Win32 IME character events#6689
mmaxjr wants to merge 1 commit into
Textualize:mainfrom
mmaxjr:agent/fix-win32-ime-vk0

Conversation

@mmaxjr

@mmaxjr mmaxjr commented Aug 7, 2026

Copy link
Copy Markdown

Link to issue or discussion

Closes #6667

Description

Preserve Win32 key events with VK=0 when they carry a real Unicode character. This avoids dropping CJK IME composition events such as Shift-produced full-width punctuation.

The filter still drops bare modifier noise events where VK=0, modifier state is set, and no Unicode character is present.

Tests

  • PYTHONPATH=src python -m pytest tests/test_driver.py -k "win32_ime_vk0_shift_character" -q
  • PYTHONPATH=src python -m pytest tests/test_driver.py -q

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.

Windows: VK=0 filter in win32.py discards CJK IME composition events

1 participant