add chat mode switch; turn on by pressing enter and off when done entering msg
Merge pull request #11 from darkpgx/Chatmode_switch

Chatmode switch