//Refreshes a window, causing it to redraw on top. int wrefresh(WINDOW *win) { if (win==0) win=mainwin; if (win->draw) curses_drawwindow(win); return 1; }
//Refreshes a window, causing it to redraw on top. int wrefresh(WINDOW *win) { if( win != nullptr && win->draw ) { curses_drawwindow(win); } return 1; }