Пример #1
0
/* Touches the window, indicating that it needs to be refreshed. It is also required to keep the standard screen from becoming useless once windows become involved (handled by NewWindow) */
func (w *Window) Touch() {
	C.touchwin((*C.WINDOW)(w))
}
Пример #2
0
func (win *Window) Touchwin() error {
	if C.touchwin((*C.WINDOW)(win)) == C.ERR {
		return CursesError{"touchwin failed"}
	}
	return nil
}