package lazytui

import "golazy.dev/lazytui"

Package lazytui groups terminal UI helpers for GoLazy command-line tools.

The root package is intentionally only a discovery point. Concrete behavior lives in subpackages: progress owns multi-step command status UIs, pty wraps pseudo-terminal command execution, window describes terminal dimensions, and encoding packages parse or emit terminal byte streams.

GoLazy's lazy command uses these packages for visible setup, build, migration, and foreground-process workflows. Applications normally do not import lazytui unless they are building their own terminal tooling.

Variables

var GoLazyPalette

GoLazyPalette is the terminal counterpart of the public site's brand palette.

var GoLazyPalette = Palette{
	Primary:	Hex("#00ADD8"),
	Secondary:	Hex("#00A29C"),
	Accent:		Hex("#FDDD00"),
	Success:	Hex("#00A29C"),
	Warning:	Hex("#FDDD00"),
	Error:		Hex("#CE3262"),
}

Types

type Color

Color is a terminal color stored as an RGB value.

type Color struct {
	R	uint8
	G	uint8
	B	uint8
}
func Hex

Hex parses a CSS-style six-digit hexadecimal color and panics when it is invalid. It is intended for package-level palette declarations.

func Hex(value string) Color
func (color Color) IsZero
func (color Color) IsZero() bool

Directories

PathSynopsis
lazytui/encoding/ansiPackage ansi encodes and decodes ANSI and VT terminal byte streams.
lazytui/encoding/ansi/codesPackage codes defines ANSI, ECMA-48, and common terminal extension codes.
lazytui/encoding/ttyPackage tty encodes terminal-control requests and applies them to terminal devices.
lazytui/examples/twoshells
lazytui/lazycliPackage lazycli provides a small reflection-driven command router.
lazytui/progressPackage progress runs named terminal tasks with compact status output.
lazytui/ptyPackage pty starts commands behind pseudo terminals.
lazytui/windowPackage window defines terminal window geometry helpers.