bug-readline
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

rl_executing_keyseq wrong after rl_digit_argument call


From: Grisha Levit
Subject: rl_executing_keyseq wrong after rl_digit_argument call
Date: Sun, 20 Aug 2023 18:34:55 -0400

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

[1]: https://git.savannah.gnu.org/cgit/bash.git/diff/lib/readline/misc.c?h=devel&id=88d69b4fa

reply via email to

[Prev in Thread] Current Thread [Next in Thread]