On 12/11/20 12:32 AM, Ronan Pigott wrote:
From: Ronan Pigott <rpigott(a)berkeley.edu>
Readline uses the characters \001 and \002 to mark the start and end
of zero-length character sequnces in the prompt before prompt
expansion. Without these characters the input point can become offset
from the visual end of the prompt when performing some actions.
iwctl gets messed up if you press up and down once to recall and
then dismiss the last history line. This fixes that.
Interesting. I have never observed this behavior and I do this often.
client/display.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)