degesch: fix more libedit weirdness

This commit is contained in:
Přemysl Eric Janouch 2015-05-07 07:52:12 +02:00
parent 715def6555
commit ae91f9047d

View File

@ -507,6 +507,8 @@ input_start (struct input *self, const char *program_name)
// No, editline, it's not supposed to kill the entire line
el_set (self->editline, EL_BIND, "^W", "ed-delete-prev-word", NULL);
// Just what are you doing?
el_set (self->editline, EL_BIND, "^U", "vi-kill-line-prev", NULL);
app_editline_init (self);
self->prompt_shown = 1;