func CPrint(pair int, bold bool, text string) { attr := _color(pair, bold) C.attron(attr) Print(text) C.attroff(attr) }
// Enable attribute func Attron(attr int) { C.attron(C.int(attr)) }