about summary refs log tree commit diff
path: root/edit.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--edit.c3
1 files changed, 2 insertions, 1 deletions
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);