Help us shape the future of Go! Take the 2026 Go Developer Survey

fitter

package
v0.7.1 Latest Latest
Warning

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

Go to latest
Published: Jul 1, 2026 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FitText

func FitText(text string, s *State, contentWidth int, markWrappedLine bool, cacheIncompleteLine bool) string

Types

type State

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

func NewState added in v0.4.4

func NewState() State

func (*State) Apply

func (ws *State) Apply(contentWidth int, markLines bool) string

Jump to

Keyboard shortcuts

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