From: Francois Fleuret Date: Mon, 16 Mar 2009 06:57:50 +0000 (+0100) Subject: Added the key ^? for backspace. X-Git-Url: https://fleuret.org/cgi-bin/gitweb/gitweb.cgi?a=commitdiff_plain;h=f6c5adbccb010de3ffa461208dff84ecd23a8687;p=selector.git Added the key ^? for backspace. --- diff --git a/selector.cc b/selector.cc index ff94e1a..5ce4c4e 100644 --- a/selector.cc +++ b/selector.cc @@ -527,7 +527,7 @@ int main(int argc, char **argv) { patterns[patterns_point] = '\0'; } - else if(key == KEY_BACKSPACE || key == '' || + else if(key == KEY_BACKSPACE || key == '' || key == '' || key == KEY_DC || key == '') { if(patterns_point > 0) { patterns_point--;