Skip to content

Commit

Permalink
fix key
Browse files Browse the repository at this point in the history
  • Loading branch information
maxence-charriere committed Oct 8, 2017
1 parent 078feb8 commit ba7f9d9
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions event.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
package app

import (
"github.com/murlokswarm/app/key"
)

// ChangeEvent represents the data passed in a change event.
type ChangeEvent struct {
Value string
Expand Down Expand Up @@ -37,8 +41,8 @@ type DeltaMode uint64
// KeyboardEvent represents data fired when the keyboard is used.
type KeyboardEvent struct {
CharCode rune
KeyCode KeyCode
Location KeyLocation
KeyCode key.Code
Location key.Location
AltKey bool
CtrlKey bool
MetaKey bool
Expand Down

0 comments on commit ba7f9d9

Please sign in to comment.