Include ncursesw, set locale
Handle wide chars on input
Changed replace input to handle wide chars
Handle backspace at end of input for wide chars
Removed unused code and comments
Handle insert for wide chars
Handle deleting wide chars in middle of input
Changed backspace when at end for wide chars
Handle DEL key for wide chars
Fixed order of includes for ncursesw

Arch linux uses the standard headers for wide char ncurses
Added mbstate_t
Fix buffer overflow check
Fixed possible buffer overflow
Updated install script for ubuntu
Added ncursesw devel to cywin install