Update telnet.cpp

Fixed linebreaks for Linux-like telnet terminals