// Turn on/off buffering; raw user signals are passed to the program for // handling. Overrides raw mode func CBreak(on bool) { if on { C.cbreak() return } C.nocbreak() }
func Nocbreak() os.Error { in() defer out() if C.nocbreak() == 0 { return CursesError{"Nocbreak failed"} } return nil }
func DisableCharBreak() error { if C.nocbreak() == C.ERR { return CursesError{"Nocbreak failed"} } return nil }
func Nocbreak() os.Error { if C.nocbreak() == 0 { return CursesError{"Nocbreak failed"} } return nil }
func Nocbreak() error { if C.nocbreak() == ERR { return ErrorNocbreak } return nil }
/* Turns off cbreak input mode. */ func NoCBreak() { C.nocbreak() }
func endCurses() { C.nocbreak() C.echo() C.nl() C.endwin() }
func Nocbreak() error { if C.nocbreak() == C.ERR { return CursesError{"nocbreak failed"} } return nil }