This commit is contained in:
Tulir Asokan 2018-04-01 10:28:46 +03:00
parent 1e082f9715
commit 2ba2fde396
3 changed files with 6 additions and 6 deletions

View File

@ -30,7 +30,7 @@ var colorNames []string
func init() {
colorNames = make([]string, len(tcell.ColorNames))
i := 0
for name, _ := range tcell.ColorNames {
for name := range tcell.ColorNames {
colorNames[i] = name
i++
}