Odin printing library with support for ANSI colors and attributes. The goal is to mirror the existing core:fmt library to provide a seamless alternative.
- afmt (a for ansi) is designed to be used as a collection.
- Reference examples.odin for idiomatic patterns for each procedure in the library.
- License: https://github.com/odin-lang/Odin/blob/master/LICENSE
- Clone afmt into odin/shared folder:
cd $(odin root)shared git clone https://github.com/OnlyXuul/afmt.git
- To use the library, add to the top of your project file:
import "shared:afmt"
- To run usage examples:
cd $(odin root)shared/afmt/examples odin run .






