text

package
v0.0.0-...-5996917 Latest Latest
Warning

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

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

Documentation

Index

Constants

View Source
const (
	Reset       = "\033[0m"
	Bold        = "\033[1m"
	Normal      = "\033[22m"
	Black       = "\033[30m"
	Red         = "\033[31m"
	Green       = "\033[32m"
	Yellow      = "\033[33m"
	Blue        = "\033[34m"
	Magenta     = "\033[35m"
	Cyan        = "\033[36m"
	White       = "\033[37m"
	BGBlack     = "\033[40m"
	BGRed       = "\033[41m"
	BGGreen     = "\033[42m"
	BGYellow    = "\033[43m"
	BGBlue      = "\033[44m"
	BGMagenta   = "\033[45m"
	BGCyan      = "\033[46m"
	BGWhite     = "\033[47m"
	Gray        = "\u001b[38;5;241m"
	LightGreen  = "\u001b[38;5;36m"
	Turquoise   = "\u001b[38;5;31m"
	Pink        = "\u001b[38;5;168m"
	LightYellow = "\033[93m"
	LightRed    = "\033[91m"
	DarkGreen   = "\x1b[38;5;106m"
	BrightRed   = "\x1b[38;5;160m"
	DarkYellow  = "\x1b[38;5;142m"

	Brown   = Yellow
	BGBrown = BGYellow

	Good   = Green
	Info   = Yellow
	Bad    = Red
	Prompt = Magenta
)

Mixed ANSI and 256 Color codes for colorizing the game

Variables

This section is empty.

Functions

func Colorize

func Colorize(in []byte) []byte

Types

This section is empty.

Jump to

Keyboard shortcuts

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