Exemplo n.º 1
0
//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;
}
Exemplo n.º 2
0
//Refreshes a window, causing it to redraw on top.
int wrefresh(WINDOW *win)
{
    if( win != nullptr && win->draw ) {
        curses_drawwindow(win);
    }
    return 1;
}