Exemplo n.º 1
0
// VLine draws a verticle line starting at y, x and ending at height using
// the specified character
func (w *Window) VLine(y, x int, ch Char, wid int) {
	C.mvwvline(w.win, C.int(y), C.int(x), C.chtype(ch), C.int(wid))
}
Exemplo n.º 2
0
func (win *Window) Mvvline(y, x int, ch chtype, n int) error {
	if C.mvwvline((*C.WINDOW)(win), C.int(y), C.int(x), C.chtype(ch), C.int(n)) == C.ERR {
		return CursesError{"mvwvline failed"}
	}
	return nil
}