Add MouseRelease, MouseUp and MouseDown

This commit is contained in:
Dustin Willis Webber 2016-11-24 16:23:44 -05:00
parent 78f1aee25c
commit 7ac95c981b
No known key found for this signature in database
GPG Key ID: 2C78FACB23235C4B
1 changed files with 6 additions and 3 deletions

View File

@ -68,9 +68,12 @@ const (
KeyArrowLeft = Key(termbox.KeyArrowLeft) KeyArrowLeft = Key(termbox.KeyArrowLeft)
KeyArrowRight = Key(termbox.KeyArrowRight) KeyArrowRight = Key(termbox.KeyArrowRight)
MouseLeft = Key(termbox.MouseLeft) MouseLeft = Key(termbox.MouseLeft)
MouseMiddle = Key(termbox.MouseMiddle) MouseMiddle = Key(termbox.MouseMiddle)
MouseRight = Key(termbox.MouseRight) MouseRight = Key(termbox.MouseRight)
MouseRelease = Key(termbox.MouseRelease)
MouseWheelUp = Key(termbox.MouseWheelUp)
MouseWheelDown = Key(termbox.MouseWheelDown)
) )
// Keys combinations. // Keys combinations.