fix a bug when readline from uart
Merge pull request #51 from nodemcu/dev094

fix a bug when readline from uart