Closed klauspost closed 3 months ago
Thank you @klauspost for the fix. How important is a release for you? I was planning to wait a few weeks before releasing a new version.
@fatih Not very, as it is cosmetic. I can always pin the master commit. Feel free to keep it for the RGB release.
Got it, thank you again. Feel free to ping me If I forgot the release.
@fatih Gentle ping.
@klauspost, thanks for the ping. Released a new version https://github.com/fatih/color/releases/tag/v1.17.0
fmt.Println
will add spaces between elements when there is multiple parameters sent. This is also described in the documentation of this library:Spaces are always added between operands and a newline is appended.
When wrapping the colors parameters were combined using
fmt.Sprint(a...)
- which does not space out parameters.Use
fmt.Sprintln
to combine parameters.Fixes #218