Oh, sorry about that. Apparently, xterm uses a different value for PS1
than gnome-terminal by default. It seems that this issue only happens
when color escape sequences are involved, which is why it didn’t happen
for me in xterm. However, when I manually set xterm to the same value as
in
I've reproduced your issue (using the exact same prompt string as
yours). It's also buggy for me in xterm. I'm pretty sure it's a readline
or bash issue.
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
Nope, not happening in xterm.
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1745271
Title:
Input prompt behaves incorrectly if working directory path spans two
lines
To manage notifications
Does this also happen in xterm? If so then this is a bug in bash, not
gnome-terminal.
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1745271
Title:
Input prompt behaves incorrectly if working