Force encode ncurses input to
Merge #125.