https://bugs.kde.org/show_bug.cgi?id=459217
--- Comment #3 from Marco Martin <notm...@gmail.com> --- further investigating, when the garbled text happens, this is what Pty::dataReceived() sees arriving from bash: \r\u001B[K\u001B[A\u001B[01;32mdiau@phobos\u001B[01;34m ~/git/kf5/build/kde/applications/konsole/thisisaverylongdirectorynametoreproducebugs\u001B[01;33m\u001B[01;34m $\u001B[00m t/kf5/build/kde/appli\r\n\rcations/konsole/thisisaverylongdirectorynametoreproduceb note the point kde/appli\r\n\rcations/konsole this is where the word wrap of the long command happened, and since konsole informs bash about the window size, bash will produce text "already wrapped" so that konsole doesn't know anymore the last line is wrapped, producing probably the \n in the copied text and making the prompt redraw in the wrong line when resizing producing the garbled text -- You are receiving this mail because: You are watching all bug changes.