making CR call behave like carriage return for non tty
Merge pull request #1087 from sebv/master

making CR call behave like carriage return for non tty