MCPcopy
hub / github.com/owenthereal/ccat / AutoColorPrinter

Struct AutoColorPrinter

ccat.go:17–19  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

15}
16
17type AutoColorPrinter struct {
18 ColorPalettes ColorPalettes
19}
20
21func (a AutoColorPrinter) Print(r io.Reader, w io.Writer) error {
22 if isatty.IsTerminal(uintptr(syscall.Stdout)) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected