Assume enter if either CR or LF is pressed

Some OS'es use CR, some LF and some both. So it should work in all OS
Merge pull request #222 from VarunAgw/enter-keypress

Assume enter if either CR or LF is pressed