[PATCH] libbb: Handle repeating escape sequences correctly

Denys Vlasenko vda.linux at googlemail.com
Thu Nov 24 14:10:35 UTC 2016


On Tue, Nov 15, 2016 at 6:26 PM, Rostislav Skudnov <rostislav at tuxera.com> wrote:
> The following key combinations should repeat correctly when the keys are
> pressed and held:
> - Alt-b
> - Alt-f
> - Alt-d
> - Alt-Backspace
>
> Escape sequences corresponding to these key combinations are moved from
> read_line_input to lineedit_read_key.
> ---
> The problem that this patch fixes is that if you press and hold one of the
> above key sequences, the corresponding action occurs only once and does
> not repeat.
>
> Also, these key sequences are now enabled regardless of whether
> FEATURE_EDITING_VI is set, since Vim does not actually support these key
> combinations, but they are present in readline library.

Applied, thanks.


More information about the busybox mailing list