xterm

package
v0.0.0-...-b88c69b Latest Latest
Warning

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

Go to latest
Published: Oct 5, 2024 License: ISC Imports: 7 Imported by: 1

Documentation

Index

Constants

View Source
const (
	Bold = csi + "1m"

	Red     = csi + "31m"
	Green   = csi + "32m"
	Yellow  = csi + "33m"
	Blue    = csi + "34m"
	Magenta = csi + "35m"
	Cyan    = csi + "36m"

	BrightRed     = csi + "91m"
	BrightGreen   = csi + "92m"
	BrightYellow  = csi + "93m"
	BrightBlue    = csi + "94m"
	BrightMagenta = csi + "95m"
	BrightCyan    = csi + "96m"
)

See https://invisible-island.net/xterm/ctlseqs/ctlseqs.html#h3-Functions-using-CSI-_-ordered-by-the-final-character_s_

Variables

This section is empty.

Functions

func CCPrefix

func CCPrefix(env *xos.Env, w io.Writer, s string) string

CC meaning constant color. So constant color prefix.

func Prefix

func Prefix(env *xos.Env, w io.Writer, caps, s string) string

func Tput

func Tput(env *xos.Env, w io.Writer, caps, s string) string

Types

This section is empty.

Jump to

Keyboard shortcuts

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