cmder-powershell-powerline-prompt icon indicating copy to clipboard operation
cmder-powershell-powerline-prompt copied to clipboard

Fix weird duplicating space issue

Open AridTag opened this issue 7 years ago • 1 comments

I was getting a strange duplicating spaces issue seen here image

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

AridTag avatar Mar 16 '18 22:03 AridTag

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

AridTag avatar Mar 29 '18 04:03 AridTag