Popularity
5.5
Growing
Activity
1.4
Growing
206
9
16

Programming language: Go
Latest version: v1.0.0

go-colortext alternatives and similar packages

Based on the "Advanced Console UIs" category

Do you think we are missing an alternative of go-colortext or a related project?

Add another 'Advanced Console UIs' Package

README

go-colortext package GoSearch

This is a package to change the color of the text and background in the console, working both under Windows and other systems.

Under Windows, the console APIs are used. Otherwise, ANSI texts are output.

Docs: http://godoc.org/github.com/daviddengcn/go-colortext (packages that import ct)

Usage:

ct.Foreground(Green, false)
fmt.Println("Green text starts here...")
ct.ChangeColor(Red, true, White, false)
fmt.Println(...)
ct.ResetColor()

LICENSE

BSD/MIT license


*Note that all licence references and agreements mentioned in the go-colortext README section above are relevant to that project's source code only.