Regression in 1.3.0: Multi-line Bash PS1 #11267
-
Issue DescriptionThis is a regression in Ghostty 1.3.0 (Or 1.3.0 exposing a bug in my shell script.) I use Bash, and my .bashrc includes a multi-line PS1 that worked with the previous Ghostty before 1.3.0. (The real one is longer, and justifies being multiple lines, this is a simple example.) Workaround If I put the PS1 on one line, it'll work. Expected BehaviorActual BehaviorReproduction Steps
Ghostty LogsGhostty VersionOS Version InformationSequoia 15.7.3 (Linux only) Display ServerNone (Linux only) Desktop Environment/Window ManagerNo response Minimal Ghostty Configuration# Everything commented out, still reproducible.Additional Relevant ConfigurationJust so you know which bash I run, it's Homebrew's 5.3.9. I acknowledge that:
|
Beta Was this translation helpful? Give feedback.
Replies: 5 comments 11 replies
-
|
cc @jparise |
Beta Was this translation helpful? Give feedback.
-
|
I haven't been able to reproduce this yet using the same bash version and |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
-
|
I believe I'm seeing something related. After the first command, my line prompt becomes multiple lines. |
Beta Was this translation helpful? Give feedback.
-
|
#11369 should fix the root issue: we were inserting secondary prompt markers for literal newlines (in addition to prompt newline sequences). That's why putting it all on one |
Beta Was this translation helpful? Give feedback.



#11369 should fix the root issue: we were inserting secondary prompt markers for literal newlines (in addition to prompt newline sequences).
That's why putting it all on one
PS1=...line worked while the multi-line format did not.