Version 0.5.2 is here!
It ships various improvements and optimizations, let's see them:
New Auto backend on Linux
This feature is still experimental, and thus must be enabled manually. Check the section below for more information
On Linux systems there was a long standing issue with text injection, which prevented certain apps from correctly handling special characters (such as emojis or accented letters) when injected (for example on Firefox).
For this reason, espanso initially defaulted on the Clipboard backend on Linux, as it was the most reliable (working in 99% of cases), even though it was less efficient and with a few inconveniences (for example, the previous clipboard content being overwritten).
Espanso now ships with the Auto backend, which tries to take it a step further, by automatically determining when an injection is possible (only ascii characters in the replacement), and falling back to the Clipboard backend otherwise.
This new approach should offer substantial benefits to Linux users.
Enabling the Auto backend
Add the following line to your default.yml
configuration to enable the backend:
backend: Auto
and restart espanso.
Please let me know if you experience any problem with this new mode :)
More specific key options
Originally proposed by @lkrms in #117, you can now specify a more specific toggle_key
option (and the same goes for passive_key
).
The new options are:
LEFT_CTRL
RIGHT_CTRL
LEFT_ALT
RIGHT_ALT
LEFT_META
RIGHT_META
LEFT_SHIFT
RIGHT_SHIFT
All the other options are still valid, for example specifying CTRL
is equivalent to accepting both LEFT_CTRL
and RIGHT_CTRL
.