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