Fixes width of line after \n character.

When \n character is there in a string, calculation of width for very
next line after \n was wrong.

This commit fixes issue #23.