Registry / utility / muesli-reflow

muesli-reflow

JSON →
library0.3.0gogounverified

Provides text reflowing and word wrapping for terminal output in Go.

go get github.com/muesli/reflow
INSTALL
IMPORT
SIG · MUESLI-REFLOW
M
muesli-reflow
utilitygov0.3.0
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

reflow
github.com/muesli/reflow

Wraps a long string to a specified width.

package main import ( "fmt" "github.com/muesli/reflow/wordwrap" ) func main() { wrapped := wordwrap.String("Hello world, this is a long line that needs wrapping.", 20) fmt.Println(wrapped) }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
0.3.0latest on pkg.go.dev
Audit
Dependencies

No dependency data recorded yet.

Agent activity
5 hits · last 30 days
node
4
Amazon
1
Resources
muesli-reflow — go get muesli-reflow · libregistry