term

package
v0.0.3 Latest Latest
Warning

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

Go to latest
Published: Jul 21, 2023 License: GPL-3.0 Imports: 0 Imported by: 2

Documentation

Index

Constants

View Source
const (

	// Terminal font colors
	WHITE      = "\033[1;37m"
	LIGHT_GRAY = "\033[0;37m"

	BLACK     = "\033[0;30m"
	DARK_GRAY = "\033[1;30m"

	RED    = "\033[31m"
	GREEN  = "\033[32m"
	YELLOW = "\033[33m"
	BLUE   = "\033[34m"
	PURPLE = "\033[35m"
	CYAN   = "\033[36m"

	// Terminal font attributes
	BOLD      = "\033[1m"
	ITALIC    = "\033[3m"
	UNDERLINE = "\033[4m"
	HIGHLIGHT = "\033[7m"
	NORMAL    = "\033[22m"
	DIM       = "\033[2m"

	// Reset formatting
	NC = "\033[0m"
)

Variables

View Source
var CRLF = []byte{'\r', '\n'}
View Source
var CarraigeReturnB = []byte{'\r'}
View Source
var LineFeedB = []byte{'\n'}

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

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