fixes #36 Support more mouse buttons on Windows. (fix compat build)

This commit is contained in:
Garrett D'Amore 2015-10-08 10:08:54 -07:00
parent 7322e40c26
commit 5e1c42d96d
1 changed files with 1 additions and 1 deletions

View File

@ -289,7 +289,7 @@ func makeEvent(tev tcell.Event) Event {
if k == tcell.KeyRune { if k == tcell.KeyRune {
ch = tev.Rune() ch = tev.Rune()
} }
mod := tev.Mod() mod := tev.Modifiers()
return Event{ return Event{
Type: EventKey, Type: EventKey,
Key: Key(k), Key: Key(k),