On 8/20/23 6:34 PM, Grisha Levit wrote:
The change in [1] seems to break the ability of rl_trim_arg_from_keyseq to properly remove arguments provided as esc-prefixed digits -- the _rl_del_executing_keyseq call removes the digit from the key sequence but leaves the esc (and the digit is never added back).

$ bind -x '"\eX": ":"'
$ ^[2^[X
bash: bash_execute_unix_command: cannot find keymap for command

Thanks for the report. This line isn't the problem. _rl_arg_dispatch needs
to add keys to rl_executing_keyseq in the appropriate places.

Chet

--
``The lyf so short, the craft so long to lerne.'' - Chaucer
                 ``Ars longa, vita brevis'' - Hippocrates
Chet Ramey, UTech, CWRU    [email protected]    http://tiswww.cwru.edu/~chet/


Reply via email to