Пример #1
0
func CPrint(pair int, bold bool, text string) {
	attr := _color(pair, bold)
	C.attron(attr)
	Print(text)
	C.attroff(attr)
}
Пример #2
0
// Enable attribute
func Attron(attr int) {
	C.attron(C.int(attr))
}