package
0.0.0-20221009095420-d0e6ce96ca81
Repository: https://github.com/cnlubo/myssh.git
Documentation: pkg.go.dev

# Functions

GenSpaces generate a space string of specified length.
GenStr generate a string of the specified length, the string is composed of the given characters.
HardWrap performs a hard wrap at the given width.
No description provided by the author
Truncate cuts the string after the given width.
UtilFuncMap returns a template.FuncMap with handy utility functions for prompt templates.
WordWrap performs a word wrap on the input and forces a wrap at width if a word is still larger that width after soft wrapping.

# Variables

No description provided by the author
ErrAborted is returned when the prompt was aborted.

# Type aliases

WrapMode decides in which way text is wrapped.