Ncurses form magic