Closed Maverobot closed 3 years ago
Same here, it happens when I do go build then open the .exe in windows environment
Interacting in any way with Stdin seems to break the core loop. I also see that survey no longer reacts to keyboard imput other than Ctrl-C when the input is corrupted.
Duplicate of https://github.com/AlecAivazis/survey/issues/328
Survey only works if stdin is connected to a terminal. Therefore, right now you cannot pipe something into your program if it's going to display prompts with Survey.
Operating system: Ubuntu 16.04 Terminal: xterm Go version: 1.12 Description: I am trying to create a cli program which feeds the piped infomation into a
survey.MultiSelect
. Issue: the option list seems to be refreshed with a low frequency and no option could be selected. I had to pressCtrl+c
to stop the program. Sample code:Note: I just started to learn Golang a week ago. This issue might be caused by my own stupidity.