From 226a00ce8657207be8bde6f51e74080988eadf1a Mon Sep 17 00:00:00 2001 From: Peter Veenstra Date: Mon, 18 Apr 2005 18:46:27 +0000 Subject: [PATCH] added Patch 1185274 from moe. Adds another key for backspace for some linux terminals Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@2177 --- src/debug/debug.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/debug/debug.cpp b/src/debug/debug.cpp index f9b0262e..65e8503c 100644 --- a/src/debug/debug.cpp +++ b/src/debug/debug.cpp @@ -16,7 +16,7 @@ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ -/* $Id: debug.cpp,v 1.62 2005-02-10 10:20:50 qbix79 Exp $ */ +/* $Id: debug.cpp,v 1.63 2005-04-18 18:46:27 qbix79 Exp $ */ #include #include @@ -1375,6 +1375,7 @@ Bit32u DEBUG_CheckKeys(void) { ParseCommand(codeViewData.inputStr); break; case 0x107: //backspace (linux) + case 0x7f: //backspace in some terminal emulators (linux) case 0x08: // delete if (strlen(codeViewData.inputStr)>0) codeViewData.inputStr[strlen(codeViewData.inputStr)-1] = 0; break;