Documentation ¶
Index ¶
- type Attribute
- type Driver
- func (cd *Driver) GetErrorColorAttributes(_ dto.RuntimeCtx) []Attribute
- func (cd *Driver) New(value ...Attribute)
- func (cd *Driver) Peek() *fc.Color
- func (cd *Driver) PeekBelow() *fc.Color
- func (cd *Driver) Pop() (*fc.Color, error)
- func (cd *Driver) ResetColorScheme()
- func (cd *Driver) ShellColorPrint(s string) string
- func (cd *Driver) SprintFunc() func(a ...interface{}) string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
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) ResetColorScheme ¶ added in v0.5.375
func (cd *Driver) ResetColorScheme()
func (*Driver) ShellColorPrint ¶ added in v0.5.375
func (*Driver) SprintFunc ¶ added in v0.5.375
Click to show internal directories.
Click to hide internal directories.