fix ctrl-u handling

pull/1/head
Michael Stapelberg 2013-03-29 10:13:01 +01:00
parent 1495903e5d
commit d4d589a7dd
1 changed files with 5 additions and 2 deletions

View File

@ -274,9 +274,12 @@ static void handle_key_press(xcb_key_press_event_t *event) {
return;
case XKB_KEY_u:
if (ctrl)
if (ctrl) {
DEBUG("C-u pressed\n");
clear_input();
return;
return;
}
break;
case XKB_KEY_Escape:
clear_input();