mirror of
https://git.sr.ht/~eliasnaur/gio
synced 2026-07-06 01:45:36 +00:00
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:
+2
-2
@@ -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() {}
|
||||
|
||||
Reference in New Issue
Block a user