tui-go: Index | Files

package wordwrap

import ""


Package Files


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 5 packages. Updated 2019-11-13. Refresh now. Tools for package owners.