bug-bash
[Top][All Lists]
Advanced

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

Re: Bug: garbled history search when using "\e[K" is PS1


From: Andreas Schwab
Subject: Re: Bug: garbled history search when using "\e[K" is PS1
Date: Thu, 30 Jun 2022 16:13:06 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.1 (gnu/linux)

On Jun 30 2022, Constantine Bytensky wrote:

> 1. Make PS1="\[\e[K\]"

CSI K clears the whole line, clobbering the display region controlled by
readline, so that is not a valid use of control sequences.

-- 
Andreas Schwab, schwab@linux-m68k.org
GPG Key fingerprint = 7578 EB47 D4E5 4D69 2510  2552 DF73 E780 A9DA AEC1
"And now for something completely different."



reply via email to

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