Example #1
0
// Raw turns on input buffering; user signals are disabled and the key strokes
// are passed directly to input. Set to false if you wish to turn this mode
// off
func Raw(on bool) {
	if on {
		C.raw()
		return
	}
	C.noraw()
}
Example #2
0
func Noraw() os.Error {
	if C.noraw() == C.ERR {
		return CursesError{"Noraw failed"}
	}
	return nil
}
Example #3
0
/* Turns off raw input mode.*/
func NoRaw() {
	C.noraw()
}