ui/key: rename ChordEvent to just Event

Event is like pointer.Event and we don't want the stuttering of
key.KeyEvent.

Signed-off-by: Elias Naur <mail@eliasnaur.com>
This commit is contained in:
Elias Naur
2019-08-11 12:49:23 +02:00
parent 2a41ff9a59
commit 340fff9814
9 changed files with 12 additions and 12 deletions
+2 -2
View File
@@ -34,7 +34,7 @@ type FocusEvent struct {
Focus bool
}
type ChordEvent struct {
type Event struct {
Name rune
Modifiers Modifiers
}
@@ -86,5 +86,5 @@ func (h HideInputOp) Add(o *ui.Ops) {
}
func (EditEvent) ImplementsEvent() {}
func (ChordEvent) ImplementsEvent() {}
func (Event) ImplementsEvent() {}
func (FocusEvent) ImplementsEvent() {}