diff --git a/termbox/compat.go b/termbox/compat.go index b6e8349..9fec7d9 100644 --- a/termbox/compat.go +++ b/termbox/compat.go @@ -83,13 +83,13 @@ const ( AttrReverse ) -func fixColor(c tcell.Color) tcell.Color { +func fixColor(c tcell.Color) tcell.Color { if c == tcell.ColorDefault { return c } switch outMode { case OutputNormal: - c %= tcell.Color(16) + c %= tcell.Color(16) case Output256: c %= tcell.Color(256) case Output216: