Key press stops server.
Merge pull request #1 from vector-man/master

Only the enter key stops the server. Fixed.