From 014c6e89227090d183b9bc81dc8f94b5b3e1e45d Mon Sep 17 00:00:00 2001 From: rswindell <> Date: Wed, 19 Feb 2003 22:07:23 +0000 Subject: [PATCH] Treats backspace char (Ctrl-H) and delete (ASCII 127) equally. --- src/uifc/uifcx.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/uifc/uifcx.c b/src/uifc/uifcx.c index 80b03cbf5a..c6ef299118 100644 --- a/src/uifc/uifcx.c +++ b/src/uifc/uifcx.c @@ -125,7 +125,7 @@ static int getstr(char* str, int maxlen) #endif if(ch=='\r' || ch=='\n') /* enter */ break; - if(ch=='\b') { /* backspace */ + if(ch=='\b' || ch==DEL) { /* backspace */ if(len) len--; continue; } -- GitLab