Fix Carriage Return

Prevent the carriage return when pressing "Enter" to send a message.