Take prompt from console from Linux

Fixes #964
Merge pull request #10 from luisbg/master

Take prompt from console from Linux