mirror of https://github.com/gdamore/tcell.git
fixes #36 Support more mouse buttons on Windows. (fix compat build)
This commit is contained in:
parent
7322e40c26
commit
5e1c42d96d
|
@ -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),
|
||||||
|
|
Loading…
Reference in New Issue