You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The banner.txt is a nice example for how to make colored banners, but at the end [here] I think it should use ${AnsiColor.DEFAULT} instead of ${AnsiColor.BLACK}.
Yes, 99% of the time Black is the default color (or at least close to black) but not always. Most terminals allow setting a different default color than the other colors and that default color may be white, or pink, or anything.
The only reason I am even bringing it up is because this blog post is the first result when Googling "Spring Boot colored banner" (which points to this file) so this is sort of like a reference in a way.
Edit: Actually, ${AnsiStyle.NORMAL} may be even better. I believe it does [0m which I think resets everything (bold, italic, background, foreground, etc.).
The text was updated successfully, but these errors were encountered:
The
banner.txt
is a nice example for how to make colored banners, but at the end [here] I think it should use${AnsiColor.DEFAULT}
instead of${AnsiColor.BLACK}
.Yes, 99% of the time Black is the default color (or at least close to black) but not always. Most terminals allow setting a different default color than the other colors and that default color may be white, or pink, or anything.
The only reason I am even bringing it up is because this blog post is the first result when Googling "Spring Boot colored banner" (which points to this file) so this is sort of like a reference in a way.
Edit: Actually,
${AnsiStyle.NORMAL}
may be even better. I believe it does[0m
which I think resets everything (bold, italic, background, foreground, etc.).The text was updated successfully, but these errors were encountered: