summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPřemysl Janouch <p.janouch@gmail.com>2015-05-07 07:52:12 +0200
committerPřemysl Janouch <p.janouch@gmail.com>2015-05-07 07:52:12 +0200
commitae91f9047d0722a1438616b60e95b0d67435f555 (patch)
treec5a89cd988448f2177a0beffe41b80a98e3329a3
parent715def65554892b0f75861391823ed0295492e71 (diff)
downloadxK-ae91f9047d0722a1438616b60e95b0d67435f555.tar.gz
xK-ae91f9047d0722a1438616b60e95b0d67435f555.tar.xz
xK-ae91f9047d0722a1438616b60e95b0d67435f555.zip
degesch: fix more libedit weirdness
-rw-r--r--degesch.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/degesch.c b/degesch.c
index e00a224..f6f303b 100644
--- a/degesch.c
+++ b/degesch.c
@@ -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;