bug-readline
[Top][All Lists]
Advanced

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

[Bug-readline] Executing any bound shell command redraws the prompt whic


From: Šimon Let
Subject: [Bug-readline] Executing any bound shell command redraws the prompt which seems unnecessary
Date: Wed, 2 Oct 2019 22:47:19 +0200

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

reply via email to

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