Fixing carriage returns with no commands typed in