Пример #1
0
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()
}
Пример #2
0
func Refresh() {
	C.refresh()
}
Пример #3
0
func (r *FullscreenRenderer) Refresh() {
	C.refresh()
}