From 07a877fa6e7144deb4b92e82de658c42d91c933a Mon Sep 17 00:00:00 2001 From: Pietro Gagliardi Date: Sat, 29 Mar 2014 12:33:36 -0400 Subject: Updated the GTK+ implementation and test programs to reflect the new KeyEvent setup. --- test/main.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test/main.go') 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 } -- cgit v1.2.3