Trim the last new-line in the echo area

Fix #84
Merge pull request #86 from oblique/master

Trim the last new-line in the echo area