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
+1 -1
View File
@@ -202,7 +202,7 @@ func (w *window) setAnimating(anim bool) {
}
func (w *window) onKeyCommand(name rune) {
w.w.event(key.ChordEvent{
w.w.event(key.Event{
Name: name,
})
}