xterm

package
v0.2.2 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	BasicColors = ColorSet{
		Green,
		Blue,
		Yellow,
		LightBlue,
	}

	Warn = Red
)
View Source
var (
	Green     = color{/* contains filtered or unexported fields */}
	Yellow    = color{/* contains filtered or unexported fields */}
	Blue      = color{/* contains filtered or unexported fields */}
	Red       = color{/* contains filtered or unexported fields */}
	LightBlue = color{/* contains filtered or unexported fields */}
	Grey      = color{/* contains filtered or unexported fields */}
)

Standard XTerm Colors

View Source
var NoColor = noColor{}

Functions

This section is empty.

Types

type Color

type Color interface {
	B(text string) []byte
	S(text string) string
}

type ColorSet

type ColorSet []Color

func (ColorSet) Choose

func (cs ColorSet) Choose(i int) Color

Jump to

Keyboard shortcuts

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