promptui icon indicating copy to clipboard operation
promptui copied to clipboard

Interactive prompt for command-line applications

Results 93 promptui issues
Sort by recently updated
recently updated
newest added

Adding key for quit (default is 'q') in SelectKeys

Currently I am unable to use [Git Bash](https://gitforwindows.org/) with this library. All prompts are immediately terminated with an EOF. Find the example repository with all three test cases here: https://github.com/Silthus/promptui-git-bash-bug...

This PR resolves the race conditions mentioned in #148. The race condition was causing rendering glitches with prompts for me, it annoyed me sufficiently that I decided to investigate why...

Issue reproduction: ``` emailPrompt := promptui.Prompt{ Label: "Email", Validate: func(input string) error { match, err := regexp.MatchString("([a-z]+)@email.com", input) if err != nil { log.Fatal(err) os.Exit(1) } if !match { return...

#### Description When a sentence is too large for the terminal, next character correctly goes next line but cause lines duplicates #### Screenshots ![Downhill Windmills](https://media.giphy.com/media/Ik82e9ATIvXH5oNNF5/giphy.gif) #### To Reproduce [here](https://github.com/malletgaetan/prompt-example) is...

I would like to use a custom struct template but also let the user choose a custom input. In my case I want the user to select a new version...

Tested with both iTerm2 3.4.12 and Terminal 2.10 on macOS 10.15.7 with promptui 0.9.0 and Go 1.17.5 using: ``` prompt := promptui.Prompt{ Label: "SSO Instance Name (DefaultSSO)", Validate: validateSSOName, Default:...

When I try to edit a default value in prompt using delete key I get: ``` Prompt failed ^D ``` Backspace works fine. Generally, even without a default value, the...

This inst really a issue but more of a question is there anyway to do auto complete for basic writing prompts?

By default when only providing a `Prompt.Mask` character, it is impossible to hide the amount of characters entered as you cannot enter either an `''` (empty rune), or the `0`...