Added an beep for non handled key codes.
authorFrancois Fleuret <francois@fleuret.org>
Thu, 16 Dec 2010 07:17:11 +0000 (08:17 +0100)
committerFrancois Fleuret <francois@fleuret.org>
Thu, 16 Dec 2010 07:17:11 +0000 (08:17 +0100)
selector.c

index eb8e22f..9e09b8a 100644 (file)
@@ -1206,6 +1206,11 @@ int main(int argc, char **argv) {
       clear();
     }
 
+    else {
+      /* Unknown key */
+      error_feedback();
+    }
+
     update_screen(&current_focus_line, &displayed_focus_line,
                   motion,
                   nb_lines, labels, cursor_position, pattern);