https://bugs.kde.org/show_bug.cgi?id=372250

--- Comment #7 from Egmont Koblinger <egm...@gmail.com> ---
This is really not the right forum to discuss this.

Bash/readline's documentation clearly says it needs to be done this way, so if
it's a bug then it's a bug in your PS1 setup, not in bash.

We might argue about bash lacking a cool feature that would make it more
convenient for the users.

The point is:

- bash does not know which characters of the prompt are escape sequences, that
is, will not advance the cursor when printed;

- bash has no way to know what is actually printed on the screen and where the
cursor is, and hence if/when the display falls apart.

If you want to improve on this, it should be brought up (I guess it has been
brought up many times) on bash's mailing lists (check its archives first).

(I'm sorry but I'm off from this discussion here.)

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to