toolbox/tui/escapes.go

11 lines
291 B
Go
Raw Normal View History

2021-03-31 08:27:54 +00:00
package tui
var (
EscapeNormal = []byte{27, '[', '0', 'm'}
EscapeBold = []byte{27, '[', '1', 'm'}
EscapeFaint = []byte{27, '[', '2', 'm'}
EscapeItalic = []byte{27, '[', '3', 'm'}
EscapeUnderline = []byte{27, '[', '4', 'm'}
EscapeInvert = []byte{27, '[', '7', 'm'}
)