Open lukeaar opened 6 months ago
Hey @lukeaar Thanks for letting us know. The symbols didn't transfer over from your starship.toml
file, so it's not the same, but I noticed the vertical alignment issue. If you can please post the starship.toml
file so we can download it with all the icons/symbols and let us know which font you're using. I'll bring this up with the team and we'll post any follow-up questions or updates on this thread.
To anyone else facing this issue, please add a 👍 to the original post at the top or comment with your details, and subscribe if you'd like to be notified.
@dannyneira Attached is my starship.toml file renamed as a .txt to allow upload. Let me know how else I can help.
Edit: The font I'm using is JetBrainsMono Nerd Font Mono found here: https://github.com/ryanoasis/nerd-fonts/releases/download/v3.1.1/JetBrainsMono.zip
hey @lukeaar Thanks so much for the extra info. I was able to see the same on my Macbook display, but not others so I think this may be helped by changing the Settings > Appearance > Text > "Use thin strokes"
settings to something that will play nicer with your display(s). I also found that the type and size of the font you choose may affect this aswell, so I encourage you to try different Nerd Fonts to see which may look best in Warp + starship.rs prompt. In my examples below I'm using Meslo NF.
For example below is the version using thin strokes "Never" which does produce the misalignment on my Macbook display.
Versus the one with thin strokes "Always" below, which lessens the misalignment.
Please let me know if changing the setting was helpful for your issue.
Hi @dannyneira . I see that thin strokes lessens the misalignment for you, but it is still present.
I have been playing around with line height to see if this helps anyone with knowledge about how Warp actually renders the prompts. All the below are with thin strokes set to 'Always':
Line height 1:
Line height 1.1:
Line height 1.2:
Line height 1.3:
Line height 1.4:
I hope this helps.
Luke
Discord username (optional)
No response
Describe the bug
Warp appears to incorrectly align characters vertically with the Starship prompt, regardless of shell.
Here is an example of my prompt in Warp with fish:
Here is an example of my prompt in Warp with nushell:
Here is the same prompt configuration in VSCode Terminal with fish:
For reference, here is my Starship config:
To reproduce
Expected behavior
Expected to appear as it does in VSCode Terminal (see image in Bug Description)
Screenshots
No response
Operating system
MacOS
Operating system and version
Sonoma 14.2
Shell Version
No response
Current Warp version
No response
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 a Warp specific issue? (i.e. does it happen in Terminal, iTerm, Kitty, etc.)
Yes, this I confirmed this only happens in Warp, not other terminals.
Warp Internal (ignore): linear-label:b9d78064-c89e-4973-b153-5178a31ee54e
None