update to the new prompt() system.
Merge pull request #2 from stephenplusplus/new-prompt

update to the new prompt() system.
make it work.