Hello.
I’ve encountered a problem, and it might be a bug in v2.
It worked in the previous version.
I can’t define or update commands via buttons.
Example:
${ widgets.button("➕", function()
command.define{
name='foo',
run=function() foo() end,
key='+'
}
end) }
command.update isn’t executed either.
command.update {
name = "foo",
key = nil
}
It works perfectly in space-lua, but not via the button.