survey
survey copied to clipboard
A golang library for building interactive and accessible prompts with full support for windows and posix terminals.
**What operating system and terminal are you using?** OS: MacOS 10.15.7 Terminal: zsh 5.8 (x86_64-apple-darwin19.6.0) **An example that showcases the bug.** I use `survey` lib to populate a struct -...
**What operating system and terminal are you using?** Ubuntu20.04, connect system with serial port(ttyS0) **An example that showcases the bug.** I connected to my linux server through a serial cable...
I would like to disable the editor prompt. This does not currently seem to be available is that correct?
Is there a way to modify the Select question prompt text color? I see https://github.com/AlecAivazis/survey/blob/9f0147aa9ef6a6810ebb976da58f2c331a96b5a9/select.go#L48 but I'm not entirely sure what to do with it. An example would be really...
**What operating system and terminal are you using?** Windows 10 Powershell **An example that showcases the bug.** Ask for a prompt for input, copy using Ctrl-c, and paste using Ctrl-v....
Reporting an issue first raised downstream at https://github.com/cli/cli/issues/1912 (that's why I'm reusing this structured format and why the examples are about using the `gh` tool): ### Description of the problem...
Allow for `icons.SelectFocus.Text` to have a length > 1 and still align options correctly. For example: ```go func setIcons(icons *survey.IconSet) { icons.SelectFocus.Text = "🌿" } ``` results in misaligned select...
Currently i am using this library for a little interactive too that calls another menu and so on. This means i need to navigate forward and backward my menu structure....
I would like to use Esc to go to different places in a loop, but the way survey intercepts it, it's currently impossible. Thank you for your work!