Hammerspoon / Hammerspoon/Spoons

Seal.plugins.useractions keyword arg delivery unreliable

Open
#111 3 comments 0 reactions 0 assignees View on GitHub
Dominant language
Lua
Stars
567
Forks
171
PR merge metrics
No merged PRs in 30d

Description

Hi. I'm using Hammerspoon 0.9.73 and Seal commit `ce0b652`. My `init.lua` is as follows:
```
local hyper = {"cmd", "alt", "ctrl", "shift"}
hs.loadSpoon("Seal")
spoon.Seal:loadPlugins({"apps", "useractions"})
spoon.Seal:bindHotkeys({show={hyper, "Space"}})
spoon.Seal.plugins.useractions.actions = {
["Tell me"] = { keyword = "tm", fn = function(str) hs.alert.show(str) end }
}
spoon.Seal:start()
```
I invoke Seal, and type stuff like the following:
> tm foo bar baz random
> tm some more stuff here
> tm hello world
> tm time is a flat circle
> tm "this is a really long quoted string, how do ya like me now?"
> tm xyzzy

Eventually you'll see that the strings that show in the alert are either:
* truncated
* strings from a previous run
* empty

Somehow these strings are getting corrupted, and I'm not sure why. Any ideas?

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.