From 3363ebc70f86c5145a98984943488052f5a29189 Mon Sep 17 00:00:00 2001 From: Mike Buland Date: Tue, 7 Jul 2015 20:07:44 +0000 Subject: In theory the protocol client shouldn't send a backspace to indicate that a backspace key was pressed, backspace is to move the cursor back one non-destructively, DEL is sent to indicate that a backspace was pressed. I now treat BS as DEL when serving because some clients (windows), send the BS instead of DEL key and everything else just seems to take it. I think there's a way to negotiate that, which I'll look into later. --- src/stable/protocoltelnet.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'src/stable') diff --git a/src/stable/protocoltelnet.cpp b/src/stable/protocoltelnet.cpp index d6e22d1..9cf2a7b 100644 --- a/src/stable/protocoltelnet.cpp +++ b/src/stable/protocoltelnet.cpp @@ -479,6 +479,7 @@ void Bu::ProtocolTelnet::onCtlChar( char cChr ) switch( cChr ) { case CH_DEL: + case CH_BS: // This isn't exactly standard { if( sDataBuf.getSize() > 0 ) { -- cgit v1.2.3