Skip to content
This repository has been archived by the owner on Apr 19, 2024. It is now read-only.

expected support for linux idioms such as grep and yes #363

Closed
sstarcher opened this issue Jul 8, 2021 · 2 comments
Closed

expected support for linux idioms such as grep and yes #363

sstarcher opened this issue Jul 8, 2021 · 2 comments
Labels

Comments

@sstarcher
Copy link

What operating system and terminal are you using?
osx, iterm2

An example that showcases the bug.

  • Create a prompt and run it on the command line.
  • go run . | grep 12.11
  • yes | go run .

What did you expect to see?

  • I would expect to still see the prompt.
  • I would also expect the prompt to respond to keypresses
  • Expected support for piping yes into the command, but instead a yes/no prompt would consider it an error
@sstarcher sstarcher added the Bug label Jul 8, 2021
@noerw
Copy link
Contributor

noerw commented Aug 3, 2021

see also #328

@mislav
Copy link
Collaborator

mislav commented Sep 16, 2021

Duplicate of #328.

Currently it's only possible to use Survey when both stdin and stdout are connected to a terminal.

@mislav mislav closed this as completed Sep 16, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

3 participants