示例#1
0
文件: curses.go 项目: zennro/fzf
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))
}