[Bug 1745271] Re: Input prompt behaves incorrectly if working directory path spans two lines

2018-01-25 Thread Simon May
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

[Bug 1745271] Re: Input prompt behaves incorrectly if working directory path spans two lines

2018-01-25 Thread Egmont Koblinger
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.

[Bug 1745271] Re: Input prompt behaves incorrectly if working directory path spans two lines

2018-01-25 Thread Simon May
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

[Bug 1745271] Re: Input prompt behaves incorrectly if working directory path spans two lines

2018-01-25 Thread Egmont Koblinger
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