예제 #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()
}
예제 #2
0
func Noraw() os.Error {
	if C.noraw() == C.ERR {
		return CursesError{"Noraw failed"}
	}
	return nil
}
예제 #3
0
파일: ncurses.go 프로젝트: Olreich/ncurses
/* Turns off raw input mode.*/
func NoRaw() {
	C.noraw()
}