Fix telnet windowsize