From e7bfdb237612072506938d5ae7578f7c1fd4cbff Mon Sep 17 00:00:00 2001 From: Curtis McEnroe Date: Thu, 3 Oct 2019 14:40:23 -0400 Subject: Add C-u and move underline to C-_ --- edit.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'edit.c') diff --git a/edit.c b/edit.c index 99dc929..c63e4a2 100644 --- a/edit.c +++ b/edit.c @@ -172,9 +172,10 @@ void edit(struct Tag tag, enum Edit op, wchar_t ch) { break; case EditBackspace: reject(); backspace(); break; case EditDelete: reject(); delete(); + break; case EditKill: reject(); line.ptr = line.end = line.buf; break; case EditKillBackWord: reject(); killBackWord(); break; case EditKillForeWord: reject(); killForeWord(); - break; case EditKillLine: reject(); line.end = line.ptr; + break; case EditKillEnd: reject(); line.end = line.ptr; break; case EditComplete: complete(tag); -- cgit 1.4.1-2-gfad0