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

[Feature Request] Keyboard Shortcuts #111

Open
Aq32 opened this issue Feb 23, 2020 · 3 comments
Open

[Feature Request] Keyboard Shortcuts #111

Aq32 opened this issue Feb 23, 2020 · 3 comments

Comments

@Aq32
Copy link

Aq32 commented Feb 23, 2020

Is it possible to implement some keyboard shortcuts into aTalk? Some onscreen keyboards allow sending Ctrl+Enter for example and this could also be used by USB keyboards as well to send messages rather than having to manually tap the send button itself on the screen when your hands are on a physical keyboard. Another issue it would resolve would include accidentally holding onto the send button after sending a message and accidentally trying to record a voice message to send instead.

Some other shortcut ideas could be:

Ctrl+Left/Right to change between contacts
Ctrl+Up to select/edit last message
Ctrl+Down to select/go back to typing a message if last message
In message selecting mode (ctrl+up/down messages) users could also select messages by pressing spacebar maybe and delete to delete one or more selected messages.

Ctrl+NumpadAdd/Minus to Zoom In/Out (maybe this is a separate feature request)
Ctrl+F to search chat (also possibly another feature request)
Ctrl+T to insert attachment

Ctrl+I for italics <em>...</em>
Ctrl+B for bold <strong>...</strong>
Ctrl+U for underline <em style="text-decoration: underline"> ? (Unsure if this is correct/possible)
Ctrl+K for strikethrough <strike>...</strike>
Ctrl+Q for quotation <blockquote>...</blockquote> (Unsure if Q is a good keyboard choice since some people may associate this with quitting a program)

There may be more ideas for shortcuts that I haven't thought of yet but there is potential for more features too.

@cmeng-git
Copy link
Owner

aTalk v2.2.0 release:
Add support CRTL-Enter to send message. The rest not considered at this time.

@Aq32
Copy link
Author

Aq32 commented Mar 1, 2020

Thanks again for this update too!

One possible issue is that the Ctrl+Enter send may not actually scroll to the bottom of the chat after a message is sent. Can you confirm?

@cmeng-git
Copy link
Owner

I have just confirmed, the text entry box remains focus after sending message via CTRL-ENTER.
I am using a wireless keyboard connected via OTG USB connector.

Note: you can use 'TAB' to put focus in the text entry box.

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

No branches or pull requests

2 participants