mirror of
https://github.com/anas-elgarhy/JColorfulConsole.git
synced 2024-08-14 23:57:19 +00:00
Add readme file 🗒
This commit is contained in:
parent
741280d306
commit
6d6b76457c
1 changed files with 18 additions and 0 deletions
18
README.md
Normal file
18
README.md
Normal file
|
@ -0,0 +1,18 @@
|
||||||
|
## 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(Color.RED); // Set text color
|
||||||
|
manager.setBackgroundColor(Color.BLUE); // Set background color
|
||||||
|
|
||||||
|
manager.println("Hello World!"); // Print text
|
||||||
|
```
|
Loading…
Reference in a new issue