ui

package
v0.3.1 Latest Latest
Warning

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

Go to latest
Published: Jan 17, 2026 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var BeginDim = func() {}
View Source
var EndDim = func() {}
View Source
var FmtBold = func(s string) string {
	return s
}
View Source
var FmtDim = func(s string) string {
	return s
}
View Source
var FmtKeyval = func(k string, v any) string {
	sp := 18 - len(k)
	if sp < 0 {
		sp = 0
	}
	return fmt.Sprintf("- %s: %s%v", k, strings.Repeat(" ", sp), v)
}
View Source
var FmtTag = func(s string) string {
	return fmt.Sprintf("'%s'", s)
}

Functions

func ConfigureOutput

func ConfigureOutput(output *os.File) *ansi.OutputState

func PrintDim

func PrintDim(s string)

func PrintKeyval

func PrintKeyval(k string, v any)

Types

This section is empty.

Jump to

Keyboard shortcuts

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