color

package
v1.2.0 Latest Latest
Warning

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

Go to latest
Published: Apr 9, 2024 License: MIT Imports: 0 Imported by: 0

Documentation

Index

Constants

View Source
const ANSIEscapeColor = "\033["

ANSIEscapeColor is the ansi terminal prefix for changing font foreground color

Variables

This section is empty.

Functions

This section is empty.

Types

type Color

type Color string

Color defines ANSI color strings for terminal coloring

const (
	BrightBlue   Color = "1;34m"
	BrightCyan   Color = "1;36m"
	BrightGreen  Color = "1;32m"
	BrightPurple Color = "1;35m"
	BrightRed    Color = "1;31m"
	BrightYellow Color = "1;33m"
	Blue         Color = "0;34m"
	Green        Color = "0;32m"
	Purple       Color = "0;35m"
	Yellow       Color = "0;33m"
	Red          Color = "0;31m"
	Default      Color = "0m"
)

Color constants

Jump to

Keyboard shortcuts

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