v2.0.0
This is a major rewrite release, It is recommended to update the pre-existing versions to ^v2.0.0
.
- Use struct embedding to make the code cleaner
- Custom Color support via RGB (
[]uint
) and Hex (uint
) - Added support for Windows Console
- Optimized code
- Optimized
toString()
method - Added a warning for invalid
TitlePos
provided then use the default position i.e.Inside
- Fix vertical alignment for multi line strings (#13)
- Make
Single
Style as Default if Style isn't provided - Added support for tab lines
doc.go
for documentation onpkg.go.dev
- Added tests
- Fixed a bug when the alignment was given empty but still the error was reported
- Added more comments for making the code more readable
- Updated
go.mod
file tov2