示例#1
0
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
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
}