ansi

package
v0.2.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 23, 2020 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	// Title color should be used for any important title
	Title = utils.Green
	// Header color should be used for all the listing column headers
	Header = utils.Blue
	// Key color should be used for all key title content
	Key = utils.Blue
	// Info color should be used when we prompt an info
	Info = utils.Blue
	// Warn color should be used when we warn the user
	Warn = utils.Yellow
	// Error color should be used when something bad happened
	Error = utils.Red
	// Emphasise color should be used with important content
	Emphasise = utils.Green
	// NoColor doesn't add any colors to the output
	NoColor = noop
)

Functions

func Link(url string, text string) string

Link returns an ANSI terminal hyperlink

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL