prevent ansi code zero error

This commit is contained in:
Gokcehan 2017-11-20 18:46:00 +03:00
parent 9b7bf63096
commit ba0a9005b1

1
ui.go
View File

@ -23,6 +23,7 @@ import (
const gEscapeCode = 27
var gAnsiCodes = map[int]termbox.Attribute{
0: termbox.ColorDefault,
1: termbox.AttrBold,
4: termbox.AttrUnderline,
7: termbox.AttrReverse,