ililim / dual-key-remap

Remap any key to any other two keys on Windows 🔥. Remap CapsLock to both Ctrl and Escape! (It's like xcape for windows!)
GNU General Public License v2.0
499 stars 36 forks source link

Windows Terminal close pane with CTRL+SHIFT+W does not work #67

Open jcrben opened 11 months ago

jcrben commented 11 months ago

UPDATE: reported upstream at https://github.com/microsoft/terminal/issues/11148

Actually, on the Edge browser CTRL+SHIFT+W doesn't work either - but it does work when using the real CTRL key.

What I notice is that it refuses to send KEY_W when I have the remapped CTRL and SHIFT pressed down:

(input) SHIFT DOWN [scan:0x2a virt:0xa0]
(input) CAPSLOCK DOWN [scan:0x3a virt:0x14]
(event) event_remapped_key_down
(input) CAPSLOCK UP   [scan:0x3a virt:0x14]
(event) event_remapped_key_up
(send) CTRL DOWN
(send) CTRL UP

With real CTRL, it does send the KEY_W:

(input) CTRL DOWN [scan:0x1d virt:0xa2]
(input) SHIFT DOWN [scan:0x2a virt:0xa0]
(input) KEY_W DOWN [scan:0x11 virt:0x57]
(input) KEY_W UP   [scan:0x11 virt:0x57]

Possibly similar to https://github.com/ililim/dual-key-remap/issues/44?