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