Added escape to switch to commands while waiting for text.
Merge pull request #60 from lantiga/master

Added escape key for switching to commands while waiting for input