[Konsole-devel] [konsole] [Bug 192221] Last line gets deleted in output after resizing window, sometimes
walch.martin at web.de
walch.martin at web.de
Sat Mar 29 13:45:14 UTC 2014
https://bugs.kde.org/show_bug.cgi?id=192221
--- Comment #11 from walch.martin at web.de ---
I can reproduce it in Konsole 2.12.3 (KDE 4.12.3) with bash 4.2.45(1) as
described. The -n switch of echo is important to suppress the trailing newline.
Maybe it helps when I describe it in more detail:
- run Konsole with bash in it
- the exact prompt does not seem to matter, but lets set it to a constant
string:
PS1="P: "
- now execute the echo command
echo -n foobar
The last two lines of the Konsole window (not necessarily at the bottom of the
window) should look like this:
P: echo -n foobar
foobarP:
As you can see, the prompt is printed immediately after foobar. When now
resizing the window in a way that adds a line to the running bash, the last
line is deleted and the prompt is reprinted. Now the two lines from above have
changed to:
P: echo -n foobar
P:
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the konsole-devel
mailing list