-
Notifications
You must be signed in to change notification settings - Fork 34
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How do colours work in Text()? #12
Comments
The numbers you're referring to are ANSI color codes. ANSI escape codes are a standard for in-band signaling to control cursor location, color, font styling, and other options on video text terminals and terminal emulators. In Blessed, the underlying library, these codes are used to set colors. Here's a mapping of color codes to colors in Blessed:
These are the basic colors. In some terminal configurations, these colors may be different due to customization or the terminal's color scheme. |
How do I know which number corresponds to which colour?
The text was updated successfully, but these errors were encountered: