Version: GNU bash, version 5.0.9(1)-release (x86_64-pc-linux-gnu)

Description (steps to reproduce):
Create a dummy shell function: `funcX(){ local x=1; }`
Bind shell command/function: `bind -x '"\C-x": funcX'`
Hold down the "C-x" key.
The prompt will flicker.

I suspect that the prompt is being redrawn with each execution of the shell
command.

Is there a reason for this? It seems unnecessary. Readline doesn't seem to
redraw the prompt when builtin commands are executed (e.g.,
history-search-backward).

Regards,

Simon Let
_______________________________________________
Bug-readline mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/bug-readline

Reply via email to