From: Francois Fleuret Date: Thu, 16 Dec 2010 07:17:11 +0000 (+0100) Subject: Added an beep for non handled key codes. X-Git-Url: https://fleuret.org/cgi-bin/gitweb/gitweb.cgi?a=commitdiff_plain;h=7d4ebedc2605ec1c7d7ce343665b0ad73eec6f47;p=selector.git Added an beep for non handled key codes. --- diff --git a/selector.c b/selector.c index eb8e22f..9e09b8a 100644 --- a/selector.c +++ b/selector.c @@ -1206,6 +1206,11 @@ int main(int argc, char **argv) { clear(); } + else { + /* Unknown key */ + error_feedback(); + } + update_screen(¤t_focus_line, &displayed_focus_line, motion, nb_lines, labels, cursor_position, pattern);