dthree / vorpal

Node's framework for interactive CLIs
http://vorpal.js.org
MIT License
5.63k stars 278 forks source link

Wait for promise #333

Open giacomoratta opened 5 years ago

giacomoratta commented 5 years ago

I have a promise and after the result I call the callback to show the vorpal delimiter again. The strange thing is that it prints the delimiter, it goes to an empty new line and waits. If I press any key, it prints the delimiter again so everything come back to the correct situation.

I think I'm doing something wrong. Do you have some solutions or advices?