summaryrefslogtreecommitdiff
path: root/test/main.go
diff options
context:
space:
mode:
authorPietro Gagliardi <[email protected]>2014-03-29 12:33:36 -0400
committerPietro Gagliardi <[email protected]>2014-03-29 12:33:36 -0400
commit07a877fa6e7144deb4b92e82de658c42d91c933a (patch)
treeb9190a486a6da9768280adca25ff5efdac210cdd /test/main.go
parent4dd7eebc315887c7f7b09e03b00c110823818e06 (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.go2
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
}