In the following program, I try to demonstrate the use of windows by
creating two windows next to each other. win1 is supposed to be
displayed, then win2.
But if I don't call refresh(), win1 is never displayed. Oddly enough, win2 is, though. I'm calling wrefresh() on both of them.
I'm using version 5.4 of Ncurses. Here's the code:
#include <ncurses.h>
int main(void)
{
WINDOW *win1, *win2;
int rows, cols;