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

Option to keep Alt/Ctrl pressed for longer time #1861

Closed
sobanieca opened this issue Dec 27, 2020 · 0 comments
Closed

Option to keep Alt/Ctrl pressed for longer time #1861

sobanieca opened this issue Dec 27, 2020 · 0 comments

Comments

@sobanieca
Copy link

Feature description

Since 'shift' key is not available for extra keys I have reconfigured my text editor so text selection is done via Alt + arrows. However, pressing 'Alt' key + another key, immediately releases Alt key. This basically prevents me from using Alt/Ctrl key to select text. It would be great if once I hold Alt/Ctrl key in extra keys row for longer time, it remains pressed until I hold it for longer time again.

Reference implementation

I'm not aware of any other similar implementations

AdamMickiewich pushed a commit to VolyaTeam/dzida-app that referenced this issue Aug 8, 2022
The termux `extra-keys` have been moved to `termux-shared` library so that they can be imported and used by other apps for their own needs as long as they comply with GPLv3 license.

Almost everything is customizable and has no dependency on termux specific logic. Check the javadocs of files of `com.termux.shared.terminal.io.extrakeys` package for more info, specially, `ExtraKeysView`, `ExtraKeysInfo`, `ExtraKeyButton`, `TerminalExtraKeys` and  `TermuxTerminalExtraKeys`.

Moreover, you can now long hold on `CTRL`, `ALT`, `SHIFT` and `FN` to lock those control keys. They will not be released when you press another key and will only be released by pressing the respective control key again.

Closes termux#2049, Closes termux#1861
shrihankp pushed a commit to reisxd/termux-app that referenced this issue Oct 20, 2022
The termux `extra-keys` have been moved to `termux-shared` library so that they can be imported and used by other apps for their own needs as long as they comply with GPLv3 license.

Almost everything is customizable and has no dependency on termux specific logic. Check the javadocs of files of `com.termux.shared.terminal.io.extrakeys` package for more info, specially, `ExtraKeysView`, `ExtraKeysInfo`, `ExtraKeyButton`, `TerminalExtraKeys` and  `TermuxTerminalExtraKeys`.

Moreover, you can now long hold on `CTRL`, `ALT`, `SHIFT` and `FN` to lock those control keys. They will not be released when you press another key and will only be released by pressing the respective control key again.

Closes termux#2049, Closes termux#1861
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

1 participant