Commit Graph

1 Commits (fa1837f71ff6ac31a9ea7d9d575d183fd3e96a70)

Author SHA1 Message Date
joy fa1837f71f add color to botany
Add example ANSI-colored ASCII art to "art" directory

Add ansi_render() to menu_screen.py to render ANSI-colored ASCII art

Fall back on non-colored art if no colored art exists

Only single escape codes for setting foreground color are supported.
Escape sequences with multiple codes (e.g. "ESC[1;33m") are unsupported.
Unsupported escape codes reset colors to normal.
2021-12-26 00:15:25 -08:00