Fix a leak of cleaning a line with CR on console
Merge pull request #26 from kobo/fix-clear-line-with-cr

Fix a leak of cleaning a line with CR on console