skip

package
v0.0.0-...-5375a1e Latest Latest
Warning

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

Go to latest
Published: May 31, 2024 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Bytes

func Bytes(b []byte, width uint) []byte

func String

func String(s string, width uint) string

Types

type Writer

type Writer struct {
	// contains filtered or unexported fields
}

func NewWriter

func NewWriter(width uint) *Writer

func (*Writer) Bytes

func (w *Writer) Bytes() []byte

func (*Writer) String

func (w *Writer) String() string

func (*Writer) Write

func (w *Writer) Write(b []byte) (int, error)

Write skips content at the given printable cell width, leaving any ansi sequences intact.

Jump to

Keyboard shortcuts

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