示例#1
0
func (win *Window) Erase() {
	C.werase((*C.WINDOW)(win))
}
示例#2
0
// 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)
}
示例#3
0
文件: curses.go 项目: repos-go/curses
func (win *Window) Erase() {
	C.werase(win.cwin)
}
示例#4
0
文件: ncurses.go 项目: junegunn/fzf
func (w *CursesWindow) Erase() {
	C.werase(w.impl)
}
示例#5
0
func (win *Window) Erase() {
	in()
	defer out()
	C.werase((*C.WINDOW)(win))
}
示例#6
0
文件: window.go 项目: zyxar/gocurse
func (win *Window) Erase() error {
	if C.werase((*C.WINDOW)(win)) == C.ERR {
		return CursesError{"werase failed"}
	}
	return nil
}