~poldi1405/go-ansi

moved demo application out of redundant subdirectory
basic linebuffer implementation
switched do using runes instead of byteslices

clone

read-only
https://git.sr.ht/~poldi1405/go-ansi
read/write
git@git.sr.ht:~poldi1405/go-ansi

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

#go-ansi

Write pretty terminal output the easy way.

Want your text green? ansi.Green("I am Shrek")

Want it black on a red ground? ansi.RedBG(ansi.Black("You can just combine them"))

Moving around is as simple as Specifying direction ansi.Up()

#ANSI Support

#User Choice

This library implements the (informal) NO_COLOR standard. This disables all formatting-related ANSI-Codes but does not restrict any other function (like cursor movement or formatting). If this behavior is unwanted please stay on version 1.3.0 or below.