Fix wide-character issue on Linux (by using ncursesw).