Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Hitting "Enter" in message box should send, not add new line #54

Closed
binarydad opened this issue May 30, 2022 · 4 comments
Closed

Hitting "Enter" in message box should send, not add new line #54

binarydad opened this issue May 30, 2022 · 4 comments
Assignees
Labels
enhancement New feature or request

Comments

@binarydad
Copy link

I noticed this with the older version as well. When typing and then hitting "Enter", it adds a new line instead of sending. Not sure if this is a bug or intentional, but I feel this should send the message. Thanks!

@nioc
Copy link
Owner

nioc commented May 30, 2022

To send message, you can use Control+Enter. I think it is much easier to format paragraphs with Enter key.

@nioc
Copy link
Owner

nioc commented May 30, 2022

You're not the first telling me this. May be I will set it configurable with a new hasSendingEnterKey:

  • true: Control+Enter and Enter send message, Shift+Enter add new line
  • false: Control+Enter send message, Enter and Shift+Enter add new line

@nioc nioc added the enhancement New feature or request label May 30, 2022
@nioc nioc self-assigned this May 30, 2022
@binarydad
Copy link
Author

I think a setting is fine. Of the messengers I've used, simply hitting Enter sends the message, and I'm used to using Shift + Enter to make paragraphs.

@nioc nioc closed this as completed in 6f82683 Jun 1, 2022
@nioc
Copy link
Owner

nioc commented Jun 1, 2022

@binarydad with 0.9.2, you can add this env to your docker command:

-e APP_HAS_SENDING_ENTER_KEY=1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants