Closed catfact closed 5 years ago
i agree this would be more in line with traditional behavior. implementing this could either be done by sending lua code from maiden to matron or entirely accomplished in maiden by simply writing to a temporary file and having matron load that.
this works in maiden now. hotkey ctl/cmd-8 executes selected text
maybe this is more properly a maiden issue but would also need support in norns/lua.
clicking "run" from maiden actually saves the editor contents to disk and executes
norns.script.load
with the filename.it seems like unexpected behavior, especially since a "save" button also exists.
norns/script.lua
should probably have a way to accept a chunk of lua code in lieu of a filename, which seems like an easy change.