stuck all the termios stuff into not-windows section so windows doesn't explode anymore