// HLine draws a horizontal line starting at y, x and ending at width using // the specified character func (w *Window) HLine(y, x int, ch Char, wid int) { C.mvwhline(w.win, C.int(y), C.int(x), C.chtype(ch), C.int(wid)) return }
func (win *Window) Mvhline(y, x int, ch chtype, n int) error { if C.mvwhline((*C.WINDOW)(win), C.int(y), C.int(x), C.chtype(ch), C.int(n)) == C.ERR { return CursesError{"mvwhline failed"} } return nil }