Exemplo n.º 1
0
Arquivo: curses.go Projeto: zennro/fzf
func CPrint(pair int, bold bool, text string) {
	attr := _color(pair, bold)
	C.attron(attr)
	Print(text)
	C.attroff(attr)
}
Exemplo n.º 2
0
// Enable attribute
func Attron(attr int) {
	C.attron(C.int(attr))
}