Пример #1
0
// NewLines turns newline translation on/off.
func NewLines(on bool) {
	if on {
		C.nl()
		return
	}
	C.nonl()
}
Пример #2
0
func Nl() os.Error {
	if C.nl() == C.ERR {
		return CursesError{"Nl failed"}
	}
	return nil
}
Пример #3
0
func endCurses() {
	C.nocbreak()
	C.echo()
	C.nl()
	C.endwin()
}
Пример #4
0
func Nl() {
	C.nl()
}