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

# Functions

No description provided by the author
FontColor sets the color of the given string and bolds the font.
GenMask generate a mask string of the specified length.
GenStr generate a string of the specified length, the string is composed of the given characters.
No description provided by the author
Styler returns a func that applies the attributes given in the Styler call to the provided string.
VFDoNothing is a verification function that does nothing.
VFNotBlank is a verification function that checks whether the input is empty.

# Constants

Background color attributes.
Background color attributes.
Background color attributes.
Background color attributes.
Background color attributes.
Background color attributes.
Background color attributes.
Background color attributes.
No description provided by the author
DefaultGoodPrompt = "✔"DefaultPrompt = "".
No description provided by the author
DefaultPrompt = "Please Input: ".
No description provided by the author
No description provided by the author
No description provided by the author
EchoNone displays nothing as characters are entered.
EchoNormal displays text as is.
EchoPassword displays the EchoCharacter mask instead of actual characters.
Foreground color attributes.
Foreground color attributes.
Foreground weight/decoration attributes.
Foreground color attributes.
Foreground weight/decoration attributes.
Foreground color attributes.
Foreground weight/decoration attributes.
Foreground color attributes.
Foreground color attributes.
Foreground weight/decoration attributes.
Foreground color attributes.
Foreground color attributes.

# Variables

FuncMap defines template helpers for the output.
ResetCode is the character code used to reset the terminal formatting.

# Structs

Confirm is a regular text input that accept yes/no answers.
No description provided by the author
Model is a data container used to store TUI status information, the ui rendering success style is as follows: ✔ Please Input: aaaa.

# Type aliases

EchoMode sets the input behavior of the text input field.