In a chat app, i just want to send a message when enter is pressed, I hope to keep the focus state.
that is, the enter key is used for send, not for add a new line.