From 370649ec51fabbd3f68c680b65551a3225abcd49 Mon Sep 17 00:00:00 2001 From: Pietro Gagliardi Date: Sun, 1 Jun 2014 23:34:26 -0400 Subject: Decided to drop the whole handled thing with Area events and just continue the event chain if needed. Same for MousEvent; will have to document that. This is just the test program for now. --- test/main.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'test/main.go') diff --git a/test/main.go b/test/main.go index 340c56f..674e7dc 100644 --- a/test/main.go +++ b/test/main.go @@ -164,9 +164,9 @@ func (a *areaHandler) Mouse(e MouseEvent) bool { fmt.Printf("%#v\n", e) return false } -func (a *areaHandler) Key(e KeyEvent) (bool, bool) { +func (a *areaHandler) Key(e KeyEvent) bool { fmt.Printf("%#v %q\n", e, e.Key) - return false, false + return false } var doArea = flag.Bool("area", false, "run area test instead (overrides -kb and -areabounds)") -- cgit v1.2.3