diff options
| author | Pietro Gagliardi <[email protected]> | 2014-03-29 12:33:36 -0400 |
|---|---|---|
| committer | Pietro Gagliardi <[email protected]> | 2014-03-29 12:33:36 -0400 |
| commit | 07a877fa6e7144deb4b92e82de658c42d91c933a (patch) | |
| tree | b9190a486a6da9768280adca25ff5efdac210cdd /test/main.go | |
| parent | 4dd7eebc315887c7f7b09e03b00c110823818e06 (diff) | |
Updated the GTK+ implementation and test programs to reflect the new KeyEvent setup.
Diffstat (limited to 'test/main.go')
| -rw-r--r-- | test/main.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/main.go b/test/main.go index 1e2b465..347060b 100644 --- a/test/main.go +++ b/test/main.go @@ -136,7 +136,7 @@ func (a *areaHandler) Mouse(e MouseEvent) bool { return false } func (a *areaHandler) Key(e KeyEvent) (bool, bool) { - fmt.Printf("%#v\n", e) + fmt.Printf("%#v %q\n", e, e.Key) return false, false } |
