color

package
v0.3.293 Latest Latest
Warning

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

Go to latest
Published: Feb 12, 2023 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 ColorDriver

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

func NewColorDriver

func NewColorDriver(runtimeCtx dto.RuntimeCtx) *ColorDriver

func (*ColorDriver) GetErrorColorAttributes

func (cd *ColorDriver) GetErrorColorAttributes(runtimeCtx dto.RuntimeCtx) []Attribute

func (*ColorDriver) New

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

func (*ColorDriver) Peek

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

func (*ColorDriver) PeekBelow

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

func (*ColorDriver) Pop

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

func (*ColorDriver) ResetColorScheme

func (cd *ColorDriver) ResetColorScheme()

func (*ColorDriver) ShellColorPrint

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

func (*ColorDriver) SprintFunc

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

Jump to

Keyboard shortcuts

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