[Bug 10976] vi may lose ESCape key input
bugzilla at busybox.net
bugzilla at busybox.net
Fri May 25 14:01:02 UTC 2018
https://bugs.busybox.net/show_bug.cgi?id=10976
Denys Vlasenko <vda.linux at googlemail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Resolution|--- |FIXED
Status|NEW |RESOLVED
--- Comment #5 from Denys Vlasenko <vda.linux at googlemail.com> ---
(In reply to Mike Berger from comment #4)
> I think silently dropping all buffered input when an invalid ESC sequence is seen is a bug.
It's intended. I coded that myself. I got sick and tired of having accidental
presses of unrecognized keys (e.g. Ctrl-Shift-key) resulting in unexpected
actions. I prefer when in this case nothing happens.
> 1. Silently drop the ESC and continue processing the following character as if the ESC had not been received.
I don't think it's good. See above.
> 3. Mimic the behavior of read_key() if no input had been buffered. Return the ESC, and continue processing the following character as if the ESC had not been received.
I don't think it's good. See above.
> 2. Silently drop the ESC and the following invalid key. Continue processing as if the ESC-<bad> had not been received.
This is what happens now, right? The entire sequence is ignored.
--
You are receiving this mail because:
You are on the CC list for the bug.
More information about the busybox-cvs
mailing list