Summary: | cursor postioning error on line transgression using ansied PS1 | ||
---|---|---|---|
Product: | [Applications] konsole | Reporter: | Elmar Stellnberger (AT/K) <estellnb> |
Component: | general | Assignee: | Konsole Developer <konsole-devel> |
Status: | RESOLVED DUPLICATE | ||
Severity: | normal | ||
Priority: | NOR | ||
Version: | 1.6 | ||
Target Milestone: | --- | ||
Platform: | unspecified | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: |
This is duplicate of bug #48109. It can be resolved as INVALID. This is caused by libreadline, which is used by bash. solution: Enclose escape sequence by \[...\] to tell bash that it has zero length. |
Version: 1.6 (using KDE 3.5.1 Level "a" , SUSE 10.1) Compiler: Target: i586-suse-linux OS: Linux (i686) release 2.6.16.21-0.25-default > PS1="\e[0;48;33m\u:\w> \e[0m" Now enter a command line, which too long for the cols of the konsole window (Eingabe länger als das Konsolenfenster breit ist) The cursor starts at the beginning of the same line rather than the beginning of the next line; the input gets messed. username~path>fffffff fffffame~path>fffffff instead of username~path>fffffff fffff