// NoutRefresh, or No Output Refresh, flags the window for redrawing but does // not output the changes to the terminal (screen). Essentially, the output is // buffered and a call to Update() flushes the buffer to the terminal. This // function provides a speed increase over calling Refresh() when multiple // windows are involved because only the final output is // transmitted to the terminal. func (w *Window) NoutRefresh() { C.wnoutrefresh(w.win) return }
func (w *Window) Refresh() { C.wnoutrefresh(w.win) }
func (w *CursesWindow) Refresh() { C.wnoutrefresh(w.impl) }
/* This function allows for multiple updates with more efficiency than refresh alone. Where you'd have to call refresh multiple times. Noutrefresh only updates the virtual screen and then the actual screen can be updated by calling Doupdate, which checks all pending changes. */ func (window *Window) NoutRefresh() { C.wnoutrefresh(window.cwin) }
func RefreshWindows(windows []*Window) { for _, w := range windows { C.wnoutrefresh(w.win()) } C.doupdate() }