xterm

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Aug 7, 2026 License: ISC Imports: 7 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

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