[konsole] [Bug 459217] New: resizing when a bash prompt is too long produces lots of garbled text

Marco Martin bugzilla_noreply at kde.org
Fri Sep 16 16:19:38 BST 2022


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

            Bug ID: 459217
           Summary: resizing when a bash prompt is too long produces lots
                    of garbled text
    Classification: Unclassified
           Product: konsole
           Version: master
          Platform: Other
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: emulation
          Assignee: konsole-devel at kde.org
          Reporter: notmart at gmail.com
  Target Milestone: ---

when tthe bash prompt is very long (for instance being in a very long path) is
possible to make the rendering misbehave a lot by painting over and over the
bash prompt over many lines.
It seems to also depend from colored bash prompt, here is my PS1:

PS1='\[\033[01;32m\]\u@\h\[\033[01;34m\]
\w\[\033[01;33m\]$(__git_ps1)\[\033[01;34m\] \$\[\033[00m\] '

Steps:
1) reduce the window size to make the bash prompt wordwrap
2) copy some text from konsole
3) paste it so that the pasted text wraps as well
4) enlarge the window
5) shrink it again, pieces of the bash prompt will be painted on multiple lines

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the konsole-devel mailing list