mirror of
https://github.com/anas-elgarhy/JColorfulConsole.git
synced 2024-08-14 23:57:19 +00:00
Fix comment
This commit is contained in:
parent
eb383d9c6f
commit
660e7767d1
1 changed files with 1 additions and 1 deletions
|
@ -47,7 +47,7 @@ allprojects {
|
|||
public class Example1 {
|
||||
public static void main(String[] args) {
|
||||
ColoredString hello = new ColoredString("Hello, ");
|
||||
hello.setForegroundColor(TextColor.ANSI.BLUE); // Set text color to red
|
||||
hello.setForegroundColor(TextColor.ANSI.BLUE); // Set text color to blue
|
||||
hello.setBackgroundColor("magenta"); // Set background color to magenta
|
||||
hello.addStyle(TextStyle.BOLD); // Add bold style
|
||||
|
||||
|
|
Loading…
Reference in a new issue