I have created a simple telnet server using QTcpSocket. It works great when the (telnet) client sends a command one line at a time.
I would now like my telnet server to trap the up/down arrow keys so that I can recall previous commands from the client. When I press up/down on the keyboard at the telnet client I see the ^[[A onscreen but I don't think it is sent to the server.
Is there a way to force the telnet client to send these characters (without needing to press enter)? I suspect that this has to do with unbuffered mode, but the docs say QTcpSocket cannot do unbuffered mode. Am I on the right track? Is there a way to do this?