termwrap

package
v0.4.4 Latest Latest
Warning

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

Go to latest
Published: Jun 4, 2022 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type TermWrap

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

func NewTermWrap

func NewTermWrap(defaultWidth, defaultHeight int) *TermWrap

func (*TermWrap) IndentedParagraph

func (tw *TermWrap) IndentedParagraph(prefix, content string, minimumWidth int) string

func (*TermWrap) Paragraph

func (tw *TermWrap) Paragraph(content string) string

Jump to

Keyboard shortcuts

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