prompter

// terminalPrompter is a UserPrompter backed by the liner package. It supports
// prompting the user for various input, among others for non-echoing password
// input.
type terminalPrompter struct {
    *liner.State
    warned     bool
    supported  bool
    normalMode liner.ModeApplier
    rawMode    liner.ModeApplier
}

Last updated

Was this helpful?