You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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:
0: Black
1: Red
2: Green
3: Yellow
4: Blue
5: Magenta
6: Cyan
7: White
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: