msanders / cider

Hassle-free bootstrapping with Homebrew.
https://pypi.python.org/pypi/cider/
MIT License
840 stars 25 forks source link

add to bootstrap PROMPT printing lag #29

Closed zfhrp6 closed 8 years ago

zfhrp6 commented 9 years ago

cider missing show Add prompt[y/N] untimely, as below,

$ cider missing
formula_a
...
formula_z

y
Add to bootstrap? [y/N] Success! Added formula_a to bootstrap
...
Success! Added formula_z to bootstrap

I think adding sys.stdout.flush() after sys.stdout.write("Add to bootstrap? [y/N] ") can solve this.