if(nb_printed_lines == 1) {
addnstr("[no selection]\n", console_width);
- nb_printed_lines++;
}
// Draw the modeline
patterns[patterns_point] = '\0';
}
- else if(key == KEY_BACKSPACE || key == '\b' ||
+ else if(key == KEY_BACKSPACE || key == '\b' || key == '\7f' ||
key == KEY_DC || key == '\ 4') {
if(patterns_point > 0) {
patterns_point--;