FossifyOrg / Keyboard

Easy keyboard for inserting all kinds of texts, special characters and numbers.
https://www.fossify.org
GNU General Public License v3.0
288 stars 25 forks source link

Option to customize Enter key behavior #66

Closed win-open closed 3 months ago

win-open commented 3 months ago

Checklist

Feature description

I want to add an option in the settings to customize the behavior of the Enter key. Currently, pressing the Enter key sends the message, but I want to be able to choose whether it appends a new line or delivers the message.

Why do you want this feature?

I want this feature because the current behavior of the Enter key is inconsistent with the typical expectation of inserting a new line in text input fields. This causes inconvenience and frustration when using messenger apps. By adding this option, users can choose how they want the Enter key to behave, improving their overall typing experience.

Additional information

None.

Aga-C commented 3 months ago

The behavior of the Enter key depends on the type of the text field. Not every text field accepts a new line, so it wouldn't make sense to do an option to always enforce it. Also, current behavior is the same as in physical keyboards and other software keyboards.

win-open commented 3 months ago

I have tested other keyboards like Simple Keyboard by Raimondas Rimkus, FlorisBoard, Gboard etc. When I have tested in messenger apps like Discord, Signal etc, all keyboards default action on pressing enter key is append a new next line but when it comes to Fossify keyboard it's not the same.

Only when I have tested in note taking apps or website like Pastebin then Fossify board appends a new line on pressing enter key. I guess it have problem dealing with messenger platforms.

Aga-C commented 3 months ago

I've just checked on two devices, and both in Signal and Discord the Enter key adds a new line.