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),