ubports / telegram-app

Unofficial Telegram App for Ubuntu Desktop & Mobile
GNU General Public License v3.0
55 stars 23 forks source link

Support for Alt or Shift + Enter when sending messages #143

Open kugiigi opened 6 years ago

kugiigi commented 6 years ago

Description/Justification

The app currently only supports 'Enter' to send the message. You can't input multiple lines because pressing 'Enter' will send the message. If you turn-off that option in the settings, you can input multiple lines but you can't send the message through the keyboard. You'd have to reach your mouse and click the send button.

Suggestion

When "Enter to Send" is enabled, support Shift + Enter to add a new line. Or if it is disabled, support Alt + Enter to send. To be honest, I would be okay with any key combination assignment.

Flohack74 commented 6 years ago

Its hard to make key combinations work on a touch display :)

kugiigi commented 6 years ago

Have you forgotten convergence? 😉 At least on physical keyboard it'll be helpful. I often use my Nexus 5 this way 😄

Flohack74 commented 6 years ago

BTW if you go to settings you can disable "Send with Enter" :)

kugiigi commented 6 years ago

Yes but you can't send the message through any key, right?

Flohack74 commented 6 years ago

We can do this on the new version maybe. For the moment we wont fix it since the old version needs to be replaced ASAP.