display

package
v0.27.0 Latest Latest
Warning

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

Go to latest
Published: Mar 6, 2026 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewWriter

func NewWriter(w io.Writer, opts *Options) io.Writer

NewWriter returns an io.Writer that applies display transformations. If no options are enabled, it returns w unchanged.

Types

type Options

type Options struct {
	ShowNonPrinting bool // -v
	ShowEnds        bool // -E
	ShowTabs        bool // -T
}

Options controls cat-compatible display transformations.

Jump to

Keyboard shortcuts

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