Files
vectorcraft/apps
dotCooCoo 4b41c5b99d Type: a keypad code with a claimed digit types its character, and the Windows hook types each code once
With the claimed-digit fix in craft-libs, a keypad digit types its Alt
code also when the Type tool claims Alt with that digit: Alt with keypad
0233 types é while type is edited, and Alt with the top-row 2 still
types ™. Every craft-libs rev is pinned to that fix's head, 12b6fa3c27.

The pinned winit reports the character Windows composes for an Alt code
as a key press after Alt's release, and egui types it. The Windows hook
also typed the WM_CHAR that follows Alt's release, so each code typed its
character twice. The hook now only takes the keypad digits out of the
frame and tells the framework the Alt hold had digits typed in it.

egui reports a keypad digit as the same logical key as the top-row
digit, so the hook matches the keypad digits it takes out by their
physical keys (Numpad0 to Numpad9, with NumLock on or off). A top-row Alt
and digit in the same frame stays in the frame for the shortcuts.
2026-11-30 07:55:12 -08:00
..