Opening a `.HFS+ Private Directory Data^M` folder messes up terminal prepended prompt
The attached screenshot displays issue, and how to reproduce it
Background
OS X's Time Machine backup makes a /Time Machine Backup/.HFS+ Private Directory Data^M
folder, in my case it's on a removable/external USB hard-drive
When this folder is opened in the terminal emulator the prepended prompt [<user>@<hostname> <folder>]$
gets messed up
I guess the ^M
name ending is causes the issue [maybe not escaped properly?].
Prepended prompt should display [something like]:
[champions@champions-pc .HFS+ Private Directory Data]$
Prepended prompt displays:
-
]$ ampions@champions-pc .HFS+ Private Directory Data
with the cursor in the 4th character from the start position (rather than the end of the line)
I was running fresh install of Manjaro XFCE, with latest updates as of 21-Dec-2019
xfce4-terminal: v0.8.8
I logged this as a bug with xfce4-terminal (see https://bugzilla.xfce.org/show_bug.cgi?id=16291) and got referred here with the explanation that vte actually handles that part of the drawing in the terminal