constant generate with iota (#22)

This commit is contained in:
Qais Ali 2018-12-08 01:05:57 +03:00 committed by Pankaj Garg
parent fe0524d504
commit 1ccfe771a7

36
ui.go
View file

@ -15,24 +15,24 @@ import (
)
const (
lefttop = 0
horizontal = 1
righttop = 2
vertical = 3
leftbottom = 4
rightbottom = 5
middlebottom = 6
middletop = 7
middleleft = 8
middleright = 9
middlemiddle = 10
space = 11
box1 = 12
box2 = 13
box3 = 14
box4 = 15
uparrow = 16
dnarrow = 17
lefttop = iota
horizontal
righttop
vertical
leftbottom
rightbottom
middlebottom
middletop
middleleft
middleright
middlemiddle
space
box1
box2
box3
box4
uparrow
dnarrow
)
var symbols = []rune{'┌', '─', '┐', '│', '└', '┘', '┴', '┬', '├', '┤', '┼', ' ', '░', '▒', '▓', '█', '↑', '↓'}