Package org.aesh.terminal.tty.example
Class TerminalColorExample
java.lang.Object
org.aesh.terminal.tty.example.TerminalColorExample
Example program demonstrating the terminal color detection API.
This program detects and displays:
- Terminal color depth (8, 16, 256, or true color)
- Terminal theme (light or dark background)
- Actual foreground and background RGB colors (if detectable)
- Suggested color codes for various message types
Run with -v or --verbose flag to enable debug logging.
- Author:
- Ståle W. Pedersen
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
TerminalColorExample
public TerminalColorExample()Creates a new TerminalColorExample instance.
-
-
Method Details
-
main
Main entry point for the terminal color example.- Parameters:
args- command line arguments; use-vor--verboseto enable debug logging
-