summaryrefslogtreecommitdiff
path: root/test/main.go
diff options
context:
space:
mode:
Diffstat (limited to 'test/main.go')
-rw-r--r--test/main.go4
1 files changed, 2 insertions, 2 deletions
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)")