Add ncursesw support

Added ncursesw support for terminal windowing.