Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type StripAnsiReader ¶
type StripAnsiReader struct {
// contains filtered or unexported fields
}
StripAnsiReader wraps an io.Reader and removes ANSI escape sequences from its output.
func NewStripAnsiReader ¶
func NewStripAnsiReader(r io.Reader) *StripAnsiReader
NewStripAnsiReader creates a new [Reader].
type StripAnsiWriter ¶
type StripAnsiWriter struct {
// contains filtered or unexported fields
}
Writer wraps an io.Writer and removes ANSI escape sequences from its output.
func NewStripAnsiWriter ¶
func NewStripAnsiWriter(w io.Writer) *StripAnsiWriter
NewStripAnsiWriter creates a new [Writer].
Click to show internal directories.
Click to hide internal directories.