func (win *Window) Erase() { C.werase((*C.WINDOW)(win)) }
// Erase the contents of the window, clearing it. This function allows the // underlying structures to be updated efficiently and thereby provide smooth // updates to the terminal when frequently clearing and re-writing the window // or screen. func (w *Window) Erase() { C.werase(w.win) }
func (win *Window) Erase() { C.werase(win.cwin) }
func (w *CursesWindow) Erase() { C.werase(w.impl) }
func (win *Window) Erase() { in() defer out() C.werase((*C.WINDOW)(win)) }
func (win *Window) Erase() error { if C.werase((*C.WINDOW)(win)) == C.ERR { return CursesError{"werase failed"} } return nil }