Documentation
¶
Index ¶
Constants ¶
View Source
const Prince = "prince"
Prince ...
Variables ¶
View Source
var Registry = map[string]theme{ Prince: mustLoad(Prince), }
Registry is the registry of theme names to their structs.
Functions ¶
func NewChanWriterAt ¶
NewChanWriterAt ...
Types ¶
type Config ¶
type Config struct {
AutoResize *bool `yaml:"auto_resize,omitempty"`
ShowSchema *bool `yaml:"show_schema,omitempty"`
Color *bool `yaml:"color,omitempty"`
Columns []string `yaml:"columns,omitempty"`
ConsistentColors *bool `yaml:"consistent_colors,omitempty"`
Expand *bool `yaml:"expand,omitempty"`
Highlight *bool `yaml:"highlight,omitempty"`
MultiLine *bool `yaml:"multi_line,omitempty"`
Theme *theme `yaml:"theme,omitempty"`
Layout *layout.Layout `yaml:"-"`
TimeFormat *string `yaml:"time_format,omitempty"`
TTY bool `yaml:"-"`
Width *uint `yaml:"width,omitempty"`
Wrap *bool `yaml:"wrap,omitempty"`
Out *os.File `yaml:"-"`
}
Config ...
func (Config) EffectiveTerminalWidth ¶
EffectiveTerminalWidth ...
Click to show internal directories.
Click to hide internal directories.