-
-
Notifications
You must be signed in to change notification settings - Fork 3.9k
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
Ability to lock keyboard modifiers #2049
Comments
That depends on the keyboard used. Use preferably a keyboard which has its own ctrl key built in like Multiling O keyboard or Hackers keyboard. The standard Android keyboard has no Ctrl key. |
I'm not quite sure I understand the purpose of your comment. Are you giving reasons that this feature request shouldn't be implemented? |
No I am not, but I mentioned it as a workaround until the developers hopefully inplement tour suggestion. |
Yay, thanks so much @agnostic-apollo! |
@dead10ck You are very welcome! |
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
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
Feature description
Currently, there is no way to lock a modifier so that it stays depressed. So if you have a key sequence you need to press multiple times, such as ctrl-n to go through auto complete suggestions in vim, you need to hit ctrl n, ctrl n, ctrl n, etc; it would be nice if you could do something like hit ctrl twice to lock it, similar to the shift key, then you could just hit n, n, n, etc.
The text was updated successfully, but these errors were encountered: