Initial commit, lots of cleanup and stuff to do, it may not work.
This commit is contained in:
25
uiterm/attributes.go
Normal file
25
uiterm/attributes.go
Normal file
@ -0,0 +1,25 @@
|
||||
package uiterm
|
||||
|
||||
/*
|
||||
* Source: https://godoc.org/github.com/nsf/termbox-go
|
||||
*/
|
||||
|
||||
type Attribute int
|
||||
|
||||
const (
|
||||
ColorDefault Attribute = iota
|
||||
ColorBlack
|
||||
ColorRed
|
||||
ColorGreen
|
||||
ColorYellow
|
||||
ColorBlue
|
||||
ColorMagenta
|
||||
ColorCyan
|
||||
ColorWhite
|
||||
)
|
||||
|
||||
const (
|
||||
AttrBold Attribute = 1 << (iota + 4)
|
||||
AttrUnderline
|
||||
AttrReverse
|
||||
)
|
Reference in New Issue
Block a user