Files
zyedidia.micro/internal/action/keytree.go
2020-08-09 16:42:03 -04:00

13 lines
243 B
Go

package action
type KeyAction func(Pane) bool
type MouseAction func(Pane, *MouseEvent) bool
type KeyAnyAction func(Pane, keys []KeyEvent)
type KeyTreeNode struct {
children map[Event]KeyTreeNode
// action KeyAction
// any KeyAnyAction
}