diff options
author | June McEnroe <june@causal.agency> | 2019-10-03 14:40:23 -0400 |
---|---|---|
committer | June McEnroe <june@causal.agency> | 2019-10-03 14:40:23 -0400 |
commit | e7bfdb237612072506938d5ae7578f7c1fd4cbff (patch) | |
tree | 8670b7a30758d7f90b88bb1b23503fd14f044517 /edit.c | |
parent | Remove -W WEBIRC option (diff) | |
download | catgirl-e7bfdb237612072506938d5ae7578f7c1fd4cbff.tar.gz catgirl-e7bfdb237612072506938d5ae7578f7c1fd4cbff.zip |
Add C-u and move underline to C-_
Diffstat (limited to 'edit.c')
-rw-r--r-- | edit.c | 3 |
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); |