color

package
v0.5.643 Latest Latest
Warning

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

Go to latest
Published: May 15, 2024 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Attribute

type Attribute fc.Attribute

type Driver added in v0.5.375

type Driver struct {
	// contains filtered or unexported fields
}

func NewColorDriver

func NewColorDriver(runtimeCtx dto.RuntimeCtx) *Driver

func (*Driver) GetErrorColorAttributes added in v0.5.375

func (cd *Driver) GetErrorColorAttributes(_ dto.RuntimeCtx) []Attribute

func (*Driver) New added in v0.5.375

func (cd *Driver) New(value ...Attribute)

func (*Driver) Peek added in v0.5.375

func (cd *Driver) Peek() *fc.Color

func (*Driver) PeekBelow added in v0.5.375

func (cd *Driver) PeekBelow() *fc.Color

func (*Driver) Pop added in v0.5.375

func (cd *Driver) Pop() (*fc.Color, error)

func (*Driver) ResetColorScheme added in v0.5.375

func (cd *Driver) ResetColorScheme()

func (*Driver) ShellColorPrint added in v0.5.375

func (cd *Driver) ShellColorPrint(s string) string

func (*Driver) SprintFunc added in v0.5.375

func (cd *Driver) SprintFunc() func(a ...interface{}) string

Jump to

Keyboard shortcuts

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