JColorfulConsole/README.md

18 lines
476 B
Markdown
Raw Normal View History

2022-03-24 23:55:37 +00:00
## 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
2022-03-24 23:57:26 +00:00
manager.setTextColor(TextColor.LIGHT_RED); // Set text color
manager.setBackgroundColor(BackgroundColor.DARK_BLUE); // Set background color
2022-03-24 23:55:37 +00:00
manager.println("Hello World!"); // Print text
```