예제 #1
0
파일: curses.go 프로젝트: jncorpron/gocurse
func (win *Window) ClearToBottom() {
	C.wclrtobot((*C.WINDOW)(win))
}
예제 #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
}
예제 #3
0
파일: curses.go 프로젝트: AaronO/lightwave
func (win *Window) Clrtobot() {
	C.wclrtobot((*C.WINDOW)(win))
}
예제 #4
0
파일: curses.go 프로젝트: zozor/gocurse
func (w *Window) Clrtobot() {
	C.wclrtobot(w.win)
}
예제 #5
0
func (win *Window) Clrtobot() {
	in()
	defer out()
	C.wclrtobot((*C.WINDOW)(win))
}
예제 #6
0
파일: window.go 프로젝트: zyxar/gocurse
func (win *Window) Clrtobot() error {
	if C.wclrtobot((*C.WINDOW)(win)) == C.ERR {
		return CursesError{"wclrtobot failed"}
	}
	return nil
}