-
-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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
Unicode character breaks prompt #2210
Comments
Does Posh use the same Unicode character? |
I think that's the most likely cause of this issue. |
@mickimnet Yes, Posh and other terminals (Konsole, Conemu) use the same Unicode character. |
@davidkna How can I embed (encode) the left-to-right mark in my configuration? |
Try |
@davidkna ...works, thanks |
@thorstenkampe, if it's fine with you, I would close this issue, as we already have #2009 to track the problem. |
@mickimnet yes, sure, please close the issue (plus we have an easy workaround, thanks to @davidkna ) |
Bug Report
Current Behavior
Starship prompt is right aligned by Unicode character making the prompt and the shell unusable
Expected Behavior
The minimal prompt should display left aligned
KDE Konsole with "bad" character:

KiTTY with "good" character

Additional context/Screenshots
Possible explanation: "bad" character U+FCB5 is "Arabic Ligature Dad with Hah Initial Form", while the "good" character is "Undefined in Unicode". Since Arabic is right to left, that might explain the issue, yet it is unclear why only the combination PuTTY with Starship shows the issue.
Environment
Starship Configuration
The text was updated successfully, but these errors were encountered: