mirror of
https://shylinux.com/x/icebergs
synced 2025-04-26 01:24:05 +08:00
opt some
This commit is contained in:
parent
626b765de5
commit
edf04423eb
1
init.go
1
init.go
@ -74,6 +74,7 @@ var Index = &Context{Name: "ice", Help: "冰山模块", Configs: map[string]*Con
|
||||
EXIT: {Name: "exit", Help: "结束", Hand: func(m *Message, c *Context, cmd string, arg ...string) {
|
||||
m.root.Option(EXIT, kit.Select("0", arg, 0))
|
||||
defer c.Close(m.root.Spawn(), arg...)
|
||||
defer m.Sleep("1s")
|
||||
|
||||
m.Cmd("source", ETC_EXIT_SHY)
|
||||
m.root.Cmd(CTX_EXIT)
|
||||
|
Loading…
x
Reference in New Issue
Block a user