예제 #1
0
// Test whether colour values can be changed
func CanChangeColor() bool {
	return bool(C.bool(C.can_change_color()))
}
예제 #2
0
파일: ncurses.go 프로젝트: Olreich/ncurses
/* Checks whether the current terminal supports changing the default color values, and returns true if so */
func CanChangeColors() bool {
	if C.can_change_color() > 0 {
		return true
	}
	return false
}