~torresjrjr/hare-color

Clone of https://git.sr.ht/~atalocke/hare-color
initial work
initial commit

clone

read-only
https://git.sr.ht/~torresjrjr/hare-color
read/write
git@git.sr.ht:~torresjrjr/hare-color

You can also use your local clone with git send-email.

#color

Color module for Hare to output colored and formatted text to the terminal using standard ANSI escape sequences. Inspired by chalk.js and Go Colors.

use fmt;
use color;

export fn main() void = {
	fmt::println(color::underline(color::red("Hello, world!")))!;
};

red underlined text

Do not follow this link