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