The Writer module
This module contains the Writer function, which allows for the customization of text styling in the terminal.
import Writer "mo:color/Writer";
import TextStyle "mo:color/TextStyle";
let { backgroundColor; textColor } = TextStyle;
let writer = Writer.Writer();
writer
.text("hello world")
.textColor(textColor.black)
.backgroundColor(backgroundColor.white)
.bold(true)
.print();
Static text stylings
This module contains static text style constants which can be passed to methods of Writer to customize text styling