allow ncursesw as ncurses provider, update #1880