// Overlay copies overlapping sections of src window onto the destination // window. Non-blank elements are not overwritten. func (w *Window) Overlay(src *Window) error { if C.overlay(src.win, w.win) == C.ERR { return errors.New("Failed to overlay window") } return nil }
func (win *Window) Overlay(ow *Window) error { if C.overlay((*C.WINDOW)(win), (*C.WINDOW)(ow)) == C.ERR { return CursesError{"overlay failed"} } return nil }