add line deleting functions
This commit is contained in:
parent
688b44914d
commit
54af6f1c1c
|
@ -691,6 +691,11 @@ process_kcommand(int16_t c)
|
||||||
process_normal(DEL_KEY);
|
process_normal(DEL_KEY);
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
|
case BACKSPACE:
|
||||||
|
while (editor->curx > 0) {
|
||||||
|
process_normal(BACKSPACE);
|
||||||
|
}
|
||||||
|
break;
|
||||||
case CTRL_KEY('\\'):
|
case CTRL_KEY('\\'):
|
||||||
/* sometimes it's nice to dump core */
|
/* sometimes it's nice to dump core */
|
||||||
disable_termraw();
|
disable_termraw();
|
||||||
|
|
Loading…
Reference in New Issue