// MoveDelChar deletes the character at the givin cursor coordinates, moving all // characters to the right of that position one space to the left and appends // a blank character at the end. func (w *Window) MoveDelChar(y, x int) error { if err := C.mvwdelch(w.win, C.int(y), C.int(x)); err != C.OK { return errors.New("An error occurred when trying to delete " + "character") } return nil }
func (win *Window) Mvdelch(y, x int) error { if C.mvwdelch((*C.WINDOW)(win), C.int(y), C.int(x)) == C.ERR { return CursesError{"mvwdelch failed"} } return nil }