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

# Functions

New creates a new text input.
NewDefaultKeyMap returns a KeyMap with sensible default key mappings that can also be used as a starting point for customization.
NewModel returns a new model based on the provided confirmation prompt.
NewValue creates a Value from a bool.

# Constants

No description provided by the author
DefaultResultTemplate defines the default appearance with which the finale result of the prompt is presented.
DefaultTemplate defines the default appearance of the text input and can be copied as a starting point for a custom template.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Variables

No is a possible value of the confirmation prompt that corresponds to false.
Undecided is a possible value of the confirmation prompt that is used when neither Yes nor No are selected.
Yes is a possible value of the confirmation prompt that corresponds to true.

# Structs

Confirmation represents a configurable confirmation prompt.
KeyMap defines the keys that trigger certain actions.
Model implements the bubbletea.Model for a confirmation prompt.