Open
Description
The README.md claims this supports nested styles, but I didn't see any examples. I tried:
colorful := termenv.String("colorful").Foreground(termenv.ANSIRed)
hello := termenv.String("Hello", colorful.String(), "world").Foreground(termenv.ANSIBlue).String()
fmt.Println(hello)
But this printed something blue then red then white, instead of the expected blue then red then blue.
(BTW - slick library. I wish I'd found this before I ported all of chalk to go. :P)
Metadata
Metadata
Assignees
Labels
No labels