-
Notifications
You must be signed in to change notification settings - Fork 326
Open
Description
Describe the bug
When using starship with ~/.config/starship.toml and add_line = true
the command-line cursor is on the same line as the prompt info.
To Reproduce
- Install starship prompt
- Enable prompt suport in warp
- Set
add_newline = true
in~/.config/starship.toml
- See the command line cursor in the wrong place
Expected behaviour
The command prompt cursor should be on the next line like with PROMPT="${PROMPT}"$'\n'
added to ~/.zshrc
Screenshots
Left: add_newline = true
Right: with added PROMPT="${PROMPT}"$'\n'
to ~/.zshrc


Operating System
MacOS 15.6.1
Ubuntu 24.04
Additional Context
You can use the following command to add a newline to your custom prompt (PS1).
echo -e '\nPROMPT="${PROMPT}"$'\''\\n'/''' >> ~/.zshrc
Metadata
Metadata
Assignees
Labels
No labels