Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Two-line cursors and right prompt #5684

Closed
1 task done
rogerl50 opened this issue Jan 13, 2025 · 1 comment
Closed
1 task done

Two-line cursors and right prompt #5684

rogerl50 opened this issue Jan 13, 2025 · 1 comment
Labels
Bugs Bugs, Hangs, Crash, and Freezes

Comments

@rogerl50
Copy link

rogerl50 commented Jan 13, 2025

Dupe Check

Describe the bug

I have read both issues regarding two-line prompts and have gotten a two-line prompt by adding PROMPT="${PROMPT}"$'\n\n' to the end of my RC. I would like to have a right prompt as well for the date and time, and this doesn't work - the newlines are inserted after the left prompt, and then the date and time appear to the right of the command line.
Screenshot 2025-01-13 at 11 03 49 AM

To reproduce

After installing starship, add the line right_format = """$time\n\n""" to the toml file. Fire up Warp.

Expected behavior

The right prompt should appear on the prompt line. Note that this happens in, for example, iTerm. The two-line fix of adding a suffix to PROMPT simply isn't compatible with the right prompt, it appears. It would be preferable to support right prompts and two-line prompts in Warp.

Screenshots

Screenshot 2025-01-13 at 11 03 49 AM

Operating system

MacOS

Operating system and version

Sonoma 14.7.1

Shell Version

zsh 5.9 (x86_64-apple-darwin23.0)

Current Warp version

v0.2025.01.08.08.02.stable_04

Regression

No, this bug or issue has existed throughout my experience using Warp

Recent working Warp date

No response

Additional context

No response

Does this block you from using Warp daily?

No

Is this an issue only in Warp?

No, this issue happens in Warp and other terminals.

Warp Internal (ignore): linear-label:b9d78064-c89e-4973-b153-5178a31ee54e

None

@rogerl50 rogerl50 added the Bugs Bugs, Hangs, Crash, and Freezes label Jan 13, 2025
@rogerl50
Copy link
Author

Starship supports this, bad config on my part.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bugs Bugs, Hangs, Crash, and Freezes
Projects
None yet
Development

No branches or pull requests

1 participant