From 5e1c42d96d4d9f7961f24b5e7d0c95f2b414e3d0 Mon Sep 17 00:00:00 2001 From: Garrett D'Amore Date: Thu, 8 Oct 2015 10:08:54 -0700 Subject: [PATCH] fixes #36 Support more mouse buttons on Windows. (fix compat build) --- termbox/compat.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/termbox/compat.go b/termbox/compat.go index 92d2471..12756d8 100644 --- a/termbox/compat.go +++ b/termbox/compat.go @@ -289,7 +289,7 @@ func makeEvent(tev tcell.Event) Event { if k == tcell.KeyRune { ch = tev.Rune() } - mod := tev.Mod() + mod := tev.Modifiers() return Event{ Type: EventKey, Key: Key(k),