Beispiel #1
0
// Test whether colour values can be changed
func CanChangeColor() bool {
	return bool(C.bool(C.can_change_color()))
}
Beispiel #2
0
/* 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
}