Fixing espanso incomplete text replacement

I use espanso as a text expander. I specify “triggers” - think, shortcuts - and, when I type those triggers, the trigger word is replaced automatically with whatever I have defined.

In some applications - notable, LibreOffice, and sometimes Firefox - it doesn’t work quite right.

For example, I have a trigger for “ddate”, which inserts today’s date.

In LibreOffice, rather than getting “2023-04-19”, I get “ddate2023-0” or something like that.

Basically, the replacement is not happening properly.

There are numerous configuration options for espanso, and, with a bit of testing, it looks like adding key_delay: 10 in ~/.config/espanso/config/default.yml does the trick.