Closed xt0rted closed 3 years ago
It looks like the prefix color changes where the blank space shows. Using #fafafa
it's at the end of the segment, using #fefefe
it's between the icon & time.
"prefix": " <#fafafa>\ufa1e</> "
"prefix": " <#fefefe>\ufa1e</> "
@xt0rted that's a bug in Windows Terminal. We have an FAQ item about it.
Thanks for the info.
This issue has been automatically locked since there has not been any recent activity (i.e. last half year) after it was closed. It helps our maintainers focus on the active issues. If you have found a problem that seems similar, please open a discussion first, complete the body with all the details necessary to reproduce, and mention this issue as reference.
Code of Conduct
What happened?
While playing around with my theme's colors I found that the execution time prefix causes extra space at the start or end of the segment, and sometimes no space between the prefix and the time, depending on the icon used.
This is the config used in each of those lines:
"prefix": " <#fafafa>\ufa1e</> "
"prefix": " <#fafafa>\ufbab</> "
"prefix": " <#fafafa>\ufbab</> "
"prefix": " <#fafafa>\ufc8a</> "
"prefix": " <#fafafa>\uf608</> "
Removing the trailing space also effects the icon placement by moving it to the left even more.
I'm using PowerShell Core and WSL Bash in Windows Terminal. The font is
MesloLGM NF
.Version
Theme
What OS are you seeing the problem on?
Windows, Linux
Which shell are you using?
bash, powershell
Relevant log output
No response