#color-string #string #terminal-colors #coloring #colorize #cute #enums

bin+lib cute_strings

Library to colorize strings in the terminal

2 releases

0.1.1 Jul 15, 2024
0.1.0 Jul 14, 2024

#4 in #cute

MIT license

83KB
331 lines

Cute String

This crate exposes a type called CuteString that has methods to color the string.

The colors are defined in the AsciiColor enum.

All the methods are defined in here.

Examples

Example1

Example2

Dependencies

~0–680KB
~12K SLoC