diff options
author | terminaldweller <devi@terminaldweller.com> | 2024-07-30 23:55:52 +0000 |
---|---|---|
committer | terminaldweller <devi@terminaldweller.com> | 2024-07-30 23:55:52 +0000 |
commit | fd65e952b4443b9e516a9f4f8668aac9dc27cd48 (patch) | |
tree | e1608c29390c9757e46c7724e9e9ce19c24b70cd /main.go | |
parent | * fixed a crash when unloading a lua script (diff) | |
download | milla-fd65e952b4443b9e516a9f4f8668aac9dc27cd48.tar.gz milla-fd65e952b4443b9e516a9f4f8668aac9dc27cd48.zip |
* fixed a bug where we would end up with an unwanted whitespace at the
beginning of all args passed to the custom lua commands
* added some notes to the readme
Diffstat (limited to '')
-rw-r--r-- | main.go | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -558,6 +558,7 @@ func runCommand( luaArgs = strings.TrimSpace(luaArgs) luaArgs = strings.TrimPrefix(luaArgs, "/") luaArgs = strings.TrimPrefix(luaArgs, args[0]) + luaArgs = strings.TrimSpace(luaArgs) result := RunLuaFunc(args[0], luaArgs, client, appConfig) client.Cmd.Reply(event, result) |