Improve internal keyevent names

This commit is contained in:
Zachary Yedidia
2020-06-29 00:50:19 -04:00
parent 626b08e991
commit 6c53407e6d
3 changed files with 129 additions and 6 deletions

View File

@@ -0,0 +1,12 @@
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
}