From 7ac95c981b8a07b624ab197b3ad5813fdfbe4864 Mon Sep 17 00:00:00 2001 From: Dustin Willis Webber Date: Thu, 24 Nov 2016 16:23:44 -0500 Subject: [PATCH] Add MouseRelease, MouseUp and MouseDown --- keybinding.go | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/keybinding.go b/keybinding.go index 946864d..03fe677 100644 --- a/keybinding.go +++ b/keybinding.go @@ -68,9 +68,12 @@ const ( KeyArrowLeft = Key(termbox.KeyArrowLeft) KeyArrowRight = Key(termbox.KeyArrowRight) - MouseLeft = Key(termbox.MouseLeft) - MouseMiddle = Key(termbox.MouseMiddle) - MouseRight = Key(termbox.MouseRight) + MouseLeft = Key(termbox.MouseLeft) + MouseMiddle = Key(termbox.MouseMiddle) + MouseRight = Key(termbox.MouseRight) + MouseRelease = Key(termbox.MouseRelease) + MouseWheelUp = Key(termbox.MouseWheelUp) + MouseWheelDown = Key(termbox.MouseWheelDown) ) // Keys combinations.