func Endwin() os.Error { in() defer out() if C.endwin() == 0 { return CursesError{"Endwin failed"} } return nil }
func Hello(s string) { C.initscr() p := C.CString(fmt.Sprintf("Hello, %s", s)) C.Printw(p) C.free(unsafe.Pointer(p)) C.refresh() C.getch() C.endwin() }
func Endwin() { C.endwin() }
func Close() { C.endwin() C.swapOutput() }
func End() error { if C.endwin() == C.ERR { return CursesError{"End failed"} } return nil }
func Close() { C.endwin() C.delscreen(_screen) }
func Endwin() error { if C.endwin() == 0 { return CursesError{"Endwin failed"} } return nil }
func Endwin() error { if C.endwin() == ERR { return ErrorEndwin } return nil }
func endCurses() { C.nocbreak() C.echo() C.nl() C.endwin() }
func (r *FullscreenRenderer) Clear() { C.clear() C.endwin() }
func (r *FullscreenRenderer) Close() { C.endwin() C.delscreen(_screen) }
func (r *FullscreenRenderer) Pause() { C.endwin() }
func Clear() { C.clear() C.endwin() }
func Pause() { C.endwin() }