ansi

package
v0.4.6 Latest Latest
Warning

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

Go to latest
Published: Feb 27, 2024 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	// Title color should be used for any important title
	Title = green
	// Header color should be used for all the listing column headers
	Header = blue
	// Key color should be used for all key title content
	Key = blue
	// Info color should be used when we prompt an info
	Info = blue
	// Warn color should be used when we warn the user
	Warn = yellow
	// Error color should be used when something bad happened
	Error = red
	// Emphasise color should be used with important content
	Emphasise = 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