mirror of https://github.com/Hilbis/Hilbish
chore: remove unused setField func
parent
77b3dac1b1
commit
784e611272
8
lua.go
8
lua.go
|
@ -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.
|
||||
|
|
Loading…
Reference in New Issue