Fix thr sample code
This commit is contained in:
parent
6d6b76457c
commit
139f951ebf
|
@ -11,8 +11,8 @@
|
||||||
### Usage:
|
### Usage:
|
||||||
```java
|
```java
|
||||||
ConsoleManager manager = new DefaultConsoleManager(); // Create a new console manager
|
ConsoleManager manager = new DefaultConsoleManager(); // Create a new console manager
|
||||||
manager.setTextColor(Color.RED); // Set text color
|
manager.setTextColor(TextColor.LIGHT_RED); // Set text color
|
||||||
manager.setBackgroundColor(Color.BLUE); // Set background color
|
manager.setBackgroundColor(BackgroundColor.DARK_BLUE); // Set background color
|
||||||
|
|
||||||
manager.println("Hello World!"); // Print text
|
manager.println("Hello World!"); // Print text
|
||||||
```
|
```
|
Loading…
Reference in New Issue