[konsole] [Bug 372250] readline's history search on up/down arrow keys visually messes up the edit line

Egmont Koblinger bugzilla_noreply at kde.org
Fri Nov 11 08:36:11 UTC 2016


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

--- Comment #7 from Egmont Koblinger <egmont at 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 the assignee for the bug.


More information about the konsole-devel mailing list