Example #1
0
func (win *Window) ClearToBottom() {
	C.wclrtobot((*C.WINDOW)(win))
}
Example #2
0
// Clear starting at the current cursor position, moving to the right, to the
// bottom of window
func (w *Window) ClearToBottom() error {
	if C.wclrtobot(w.win) == C.ERR {
		return errors.New("Failed to clear bottom of window")
	}
	return nil
}
Example #3
0
func (win *Window) Clrtobot() {
	C.wclrtobot((*C.WINDOW)(win))
}
Example #4
0
func (w *Window) Clrtobot() {
	C.wclrtobot(w.win)
}
Example #5
0
func (win *Window) Clrtobot() {
	in()
	defer out()
	C.wclrtobot((*C.WINDOW)(win))
}
Example #6
0
func (win *Window) Clrtobot() error {
	if C.wclrtobot((*C.WINDOW)(win)) == C.ERR {
		return CursesError{"wclrtobot failed"}
	}
	return nil
}