From 9575857d57e26930bda3f14f1ca9f94193cc4864 Mon Sep 17 00:00:00 2001 From: Garrett D'Amore Date: Wed, 4 Nov 2015 17:30:19 -0800 Subject: [PATCH] fixes #75 Add goreport and fix related issues (go fmt) --- termbox/compat.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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: