forked from x/icebergs
add some
This commit is contained in:
parent
eb73841a72
commit
a7014de914
@ -165,6 +165,9 @@ func _space_handle(m *ice.Message, safe bool, name string, c *websocket.Conn) {
|
||||
}
|
||||
m.Info("what %v", msg.FormatStack(1, 100))
|
||||
m.Info("what %v", msg.FormatChain())
|
||||
if kit.HasPrefixList(msg.Detailv(), "toast") {
|
||||
break
|
||||
}
|
||||
if msg.Option("space.noecho") == "true" {
|
||||
break
|
||||
}
|
||||
|
1
conf.go
1
conf.go
@ -326,6 +326,7 @@ const ( // CTX
|
||||
CTX_TITLE = "_title"
|
||||
CTX_TRANS = "_trans"
|
||||
CTX_ICONS = "_icons"
|
||||
CTX_STYLE = "_style"
|
||||
)
|
||||
const ( // LOG
|
||||
LOG_CMDS = "cmds"
|
||||
|
2
info.go
2
info.go
@ -143,7 +143,7 @@ func MergeActions(arg ...Any) Actions {
|
||||
h.Hand = MergeHand(v.Hand, h.Hand)
|
||||
} else if k == CTX_EXIT {
|
||||
h.Hand = MergeHand(h.Hand, v.Hand)
|
||||
} else if h.Name, h.Help, h.Icon = kit.Select(v.Name, h.Name), kit.Select(v.Help, h.Help), kit.Select(v.Icon, h.Icon); h.Hand == nil {
|
||||
} else if h.Name, h.Help, h.Icon, h.Style = kit.Select(v.Name, h.Name), kit.Select(v.Help, h.Help), kit.Select(v.Icon, h.Icon), kit.Select(v.Style, h.Style); h.Hand == nil {
|
||||
h.Hand = v.Hand
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user