handle linefeeds while printing to screen.