diff options
author | Elliott Hughes <enh@google.com> | 2020-01-14 14:19:32 -0800 |
---|---|---|
committer | Rob Landley <rob@landley.net> | 2020-01-14 20:53:24 -0600 |
commit | df3238e86581007f266f0639c2a2ac30ee526dfd (patch) | |
tree | 05082ae18e6d206e7379efec9617be038613cca6 /toys.h | |
parent | 24ae8229485aaa67b2e93643750676351f228242 (diff) | |
download | toybox-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.h')
0 files changed, 0 insertions, 0 deletions