using ncurses windows