Add toggle read-only to the command prompt.
Merge pull request #1 from tcheneau/master

Add command prompt support