Versions in this module Expand all Collapse all v1 v1.2.0 Nov 12, 2025 Changes in this version + const ESC + type ANSITransformer struct + func NewANSITransformer(inner transform.Transformer) *ANSITransformer + func (w *ANSITransformer) Reset() + func (w *ANSITransformer) Span(src []byte, atEOF bool) (n int, err error) + func (w *ANSITransformer) Transform(dst, src []byte, atEOF bool) (nDst, nSrc int, err error) + type Segment struct + End int + Start int + Type SegmentType + type SegmentType int + const AnsiSequence + const PartialAnsiSequence + const PlainText