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

ninj...@gmail.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |NOT A BUG
             Status|REPORTED                    |RESOLVED
                 CC|                            |ninj...@gmail.com

--- Comment #4 from ninj...@gmail.com ---
That's just bash (actually readline) thinking that the prompt starts at the
leftmost position of the current line, then when you press Down, just moving to
position 5, and clearing to the end of line.

When you press Down, bash sends the following to the terminal:

\r\33[C\33[C\33[C\33[C\33[K

That's a carriage return to move to the leftmost position of the current line,
four (the length of the prompt) CUF (Cursor Forward) control sequences, and an
EL (Erase in Line) control sequence, which with parameter 0 (default) clears
from the current cursor position to the end of the line.

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

Reply via email to