Popularity
5.3
Stable
Activity
0.0
Stable
214
10
22

Programming language: Go
License: GNU General Public License v3.0 or later
Latest version: v1.0.0

go-colortext alternatives and similar packages

Based on the "Advanced Console UIs" category.
Alternatively, view go-colortext alternatives based on common mentions on social networks and blogs.

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.