func Curs_set(c int) os.Error { in() defer out() if C.curs_set(C.int(c)) == 0 { return CursesError{"Curs_set failed"} } return nil }
func SetCursorState(state CursorState) error { if C.curs_set(C.int(state)) == C.ERR { return CursesError{"Curs_set failed"} } return nil }
func Curs_set(c int) os.Error { if C.curs_set(C.int(c)) == C.ERR { return CursesError{"Curs_set failed"} } return nil }
func Curs_set(c int) error { if C.curs_set(C.int(c)) == 0 { return CursesError{"Curs_set failed"} } return nil }
// Set the cursor visibility. Options are: 0 (invisible/hidden), 1 (normal) // and 2 (extra-visible) func Cursor(vis byte) error { if C.curs_set(C.int(vis)) == C.ERR { return errors.New("Failed to enable ") } return nil }
func SetCursor(c int) error { if C.curs_set(C.int(c)) == ERR { return ErrorSetCursor } return nil }
// Hides cursor if 0, visible if 1, very visible if 2 func CursSet(i int) { C.curs_set(C.int(i)) }
func Cursor(vis byte) { C.curs_set(C.int(vis)) }