ansi

package
v5.12.4 Latest Latest
Warning

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

Go to latest
Published: Mar 16, 2024 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ClearScreen   = "\033[2J"
	MoveToBottom  = "\033[200;0H" // go to line 200, column 0
	Reset         = "\033[0m"
	Bold          = "\033[1m"
	Cyan          = "\033[36m"
	LightGreen    = "\033[1;32m"
	LightBlue     = "\033[1;36m"
	BrightRed     = "\033[1;31m"
	BrightYellow  = "\033[1;93m"
	BrightMagenta = "\033[1;95m"
	DarkGray      = "\033[90m"
)

Variables

View Source
var Enabled bool = true

Functions

func BgColor24

func BgColor24(r uint8, g uint8, b uint8) string

func FgColor8

func FgColor8(v uint8) string

func Fprint

func Fprint(o io.Writer, v string)

func Write

func Write(v string)

Types

This section is empty.

Jump to

Keyboard shortcuts

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