truncate line according to maxLineWidth option, fixed #8
Merge pull request #9 from villadora/master

truncate line according to maxLineWidth option, fixed #8