aboutsummaryrefslogtreecommitdiff
path: root/toys/other/shred.c
diff options
context:
space:
mode:
authorElliott Hughes <enh@google.com>2020-01-14 14:19:32 -0800
committerRob Landley <rob@landley.net>2020-01-14 20:53:24 -0600
commitdf3238e86581007f266f0639c2a2ac30ee526dfd (patch)
tree05082ae18e6d206e7379efec9617be038613cca6 /toys/other/shred.c
parent24ae8229485aaa67b2e93643750676351f228242 (diff)
downloadtoybox-df3238e86581007f266f0639c2a2ac30ee526dfd.tar.gz
vi: don't exit on ^C or ^D.
^D is the opposite of ^U in vi (the ^D/^U pair is the half-screen version of ^F/^B). ^C is unbound in vi. It's pretty surprising for these to cause toybox vi to exit, and it's annoying as long as toybox vi unconditionally exits rather than checks whether there are unsaved modifications! (I'm tempted to implement ^D/^U and ^F/^B, but I don't want to make Jarno's rebase of his in-progress changes any harder.)
Diffstat (limited to 'toys/other/shred.c')
0 files changed, 0 insertions, 0 deletions