Use curses on windows TTY client and server