func (win *Window) Resize(rows, cols int) { C.wresize((*C.WINDOW)(win), C.int(rows), C.int(cols)) }
// Resize the given window. func (window *Window) Resize(rows, cols int) { C.wresize(window.cwin, C.int(rows), C.int(cols)) }
// Resize the window to new height, width func (w *Window) Resize(height, width int) { C.wresize(w.win, C.int(height), C.int(width)) }
func (win *Window) Resize(rows, cols int) error { if C.wresize((*C.WINDOW)(win), C.int(rows), C.int(cols)) == C.ERR { return CursesError{"wresize failed"} } return nil }