func DoUpdate() { C.doupdate() }
func Update() error { if int(C.doupdate()) == C.ERR { return CursesError{"Doupdate failed"} } return nil }
func DoUpdate() os.Error { if int(C.doupdate()) == 0 { return CursesError{"Doupdate failed"} } return nil }
// Update the screen, refreshing all windows func Update() error { if C.doupdate() == C.ERR { return errors.New("Failed to update") } return nil }
func (r *FullscreenRenderer) RefreshWindows(windows []Window) { for _, w := range windows { w.Refresh() } C.doupdate() }
func RefreshWindows(windows []*Window) { for _, w := range windows { C.wnoutrefresh(w.win()) } C.doupdate() }
func Doupdate() error { if C.doupdate() == C.ERR { return CursesError{"doupdate failed"} } return nil }