I don't have a github account or know anything about using it (and I don't want to). However I was frustrated trying to use a feature of Yush and spent hours trying to work around it then just finally identifying and fixing the issue so here you go:
When the yush press command was used the last key would be held down for eternity. I would put:
['Alt+1'] = 'gs c smn carbuncle;yush press alt 9',
In my macro to swap to the pacts table when I summoned say carbuncle. It would do so but then if I held down control after it'd automatically hit control 9. For me that'd unsummon the avatar. Which was unusable. I'd also notice 9 just seemed held down until I would
lua r yush
So I looked through the Yush.lua source and found this:
elseif command == 'press' then keys = keys + S(args):map(string.lower) check()
I did this to fix it after tying tons of other stuff in other areas to try to fix it:
elseif command == 'press' then keysorig = keys keys = keys + S(args):map(string.lower) check() keys = keysorig
I'm sure this is not a perfect solution. It does seem to work though I have to add wait timers to my code to not get "unable to cast spells at this time" messages for some reason:
['Alt+1'] = 'gs c smn carbuncle;wait 1.3;yush press alt 9',
Now it works perfectly. Unsure of any hidden consequences to this change however. Sharing so anyone else wanting to use the yush press command without this debilitating bug can once it's patched. Thanks for making YUSH though it's a great addon otherwise and I enjoy using it.