tui-go: github.com/marcusolsson/tui-go/wordwrap Index | Files

package wordwrap

import "github.com/marcusolsson/tui-go/wordwrap"

Index

Package Files

wordwrap.go

func WrapString Uses

func WrapString(s string, width int) string

WrapString wraps the input string by inserting newline characters. It does not remove whitespace, but preserves the original text.

Package wordwrap imports 3 packages (graph) and is imported by 4 packages. Updated 2018-01-05. Refresh now. Tools for package owners.