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

Fix weird duplicating space issue #5

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

AridTag
Copy link

@AridTag AridTag commented Mar 16, 2018

I was getting a strange duplicating spaces issue seen here
image

After this change to using [string]::Format it looks like this
image

@AridTag
Copy link
Author

AridTag commented Mar 29, 2018

I just learned that this can be fixed by instead replacing your original strings given to Write-Host with something like this (" $($branchSymbol) $($status.Branch)") instead of [string]::Format

So I added another commit that changes to that. It's the same style that posh-git uses

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant