outputcolor

package
v0.36.0 Latest Latest
Warning

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

Go to latest
Published: May 9, 2024 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

View Source
const (
	None    = Level(supportscolor.None)
	Basic   = Level(supportscolor.Basic)
	Ansi256 = Level(supportscolor.Ansi256)
	Ansi16m = Level(supportscolor.Ansi16m)
)

Variables

View Source
var TypeMapper = kong.TypeMapper(reflect.TypeOf((*Level)(nil)), kong.MapperFunc(decode))

Functions

This section is empty.

Types

type Level

type Level uint8

func DefaultLevel

func DefaultLevel() Level

func (Level) Enabled

func (l Level) Enabled() bool

func (*Level) Resolve

func (l *Level) Resolve(disable bool) Level

Jump to

Keyboard shortcuts

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