readme: add readme
initial commit
turn your tcells into ansi strings
package main
import "git.sr.ht/~rockorager/tcell-ansi"
func main() {
// Make a tcell.Style
mystyle := tcell.StyleDefault.Foreground(tcell.ColorPink)
// Apply it to your string
pink := ansi.ApplyStyle(mystyle, "this is pink")
// Make another style
bluestyle := tcell.StyleDefault.Foreground(tcell.ColorBlue)
// Apply it to another string, and maybe the other styled string. Print
// it and rejoice that you have blue and pink text
fmt.Println(ansi.ApplyStyle(bluestyle, "this is blue. " + pink))
}