We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
System (please complete the following information):
ENV info on the terminal (by command env | grep -i TERM) TERM_PROGRAM_VERSION=1.80.0 COLORTERM=truecolor TERM=xterm-256color TERM_PROGRAM=vscode
env | grep -i TERM
Describe the bug
When Printf recieves a "colored" string as argument it does not colors the part of string after %s.
To Reproduce
package main import ( "github.com/gookit/color" ) func main() { color.FgRed.Printf("first %s third\n", color.FgYellow.Render("second")); }
Expected behavior
I would expect that "first" and "third" will be colored in red, second in yellow. Instead first is colored in red, second in yellow and third in white
Screenshots VS Code integrated terminal: Konsole: Additional context I also tried this on Konsole and i have encountered the same issue.
The text was updated successfully, but these errors were encountered:
inhere
No branches or pull requests
System (please complete the following information):
ENV info on the terminal (by command
env | grep -i TERM
)TERM_PROGRAM_VERSION=1.80.0
COLORTERM=truecolor
TERM=xterm-256color
TERM_PROGRAM=vscode
Describe the bug
When Printf recieves a "colored" string as argument it does not colors the part of string after %s.
To Reproduce
Expected behavior
I would expect that "first" and "third" will be colored in red, second in yellow. Instead first is colored in red, second in yellow and third in white
Screenshots
VS Code integrated terminal:
Konsole:
Additional context
I also tried this on Konsole and i have encountered the same issue.
The text was updated successfully, but these errors were encountered: