Incorrect replacements with pressed Shift key
formicant opened this issue · comments
formicant commented
Description
Now, replacements do not occur while a shift key is pressed. Instead, they are activated after the shift key is released, This can lead to incorrect replacements.
Steps to reproduce
- Add the following match:
matches:
- trigger: ":)"
replace: "☺"
- Hold a shift key down
- Type
:)TEXT
(without releasing the shift key) - Release the shift key
The actual result is:
:)TE☺
Expected behavior
☺TEXT
Screenshots
No response
Logs
No response
Your environment
- Environment name and version: rust 1.75.0 (82e1608df 2023-12-21)
- Operating system: Arch Linux, X11, KDE Plasma 6.0.3
- Espanso version 2.2.1
Self-service
- I'd be willing to fix this bug myself.
Stephen Meech commented