ANSI utilities for CLI usage in Zig.
Using https://github.com/nektro/zigmod, add a git type with a path of https://github.com/nektro/zig-ansi.
git
https://github.com/nektro/zig-ansi
See src/main.zig or do zig build run to see examples.
src/main.zig
zig build run
See src/lib.zig for source code.
src/lib.zig