chore: remove unused setField func

pull/78/head
sammyette 2021-10-16 15:33:57 -04:00
parent 77b3dac1b1
commit 784e611272
No known key found for this signature in database
GPG Key ID: 50EE40A2809851F5
1 changed files with 0 additions and 8 deletions

8
lua.go
View File

@ -8,7 +8,6 @@ import (
"syscall"
"time"
"hilbish/util"
"hilbish/golibs/bait"
"hilbish/golibs/commander"
"hilbish/golibs/fs"
@ -96,13 +95,6 @@ func RunLogin() {
}
}
func setField(L *lua.LState, module lua.LValue, name string, val lua.LValue, doc string) {
if val.Type() == lua.LTTable {
util.Document(L, module, doc)
}
L.SetField(module, name, val)
}
/* prompt(str)
Changes the shell prompt to `str`
There are a few verbs that can be used in the prompt text.