mirror of
https://github.com/anas-elgarhy/JColorfulConsole.git
synced 2024-08-14 23:57:19 +00:00
18 lines
No EOL
476 B
Markdown
18 lines
No EOL
476 B
Markdown
## JColorfulConsole
|
|
|
|
### JColorfulConsole is a console color library.
|
|
|
|
|
|
### Features:
|
|
- Support text color.
|
|
- Support background color.
|
|
- Support text style.
|
|
|
|
### Usage:
|
|
```java
|
|
ConsoleManager manager = new DefaultConsoleManager(); // Create a new console manager
|
|
manager.setTextColor(TextColor.LIGHT_RED); // Set text color
|
|
manager.setBackgroundColor(BackgroundColor.DARK_BLUE); // Set background color
|
|
|
|
manager.println("Hello World!"); // Print text
|
|
``` |