Added customization for default, userkey-0, userkey-1, and userkey-2 autotype #45
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Hey,
I added the option to customize the autotype behavior in the config file.
The default behavior is as it was before. However, if autotype_default is set in the config file, the autotype behavior will be changed (as long as nothing else is specified in the pass file). For example:
Will let me enter the password immediately. The same works for autotype_10, autotype_11, autotype_12 with exit codes 10, 11, 12, respectively.
Since I have no expertise in coding whatsoever, please check out what I did, before you consider integrating it. Most of all: I had to fiddle with the regex check. Since I could not make out what it was meant to do, I am not sure, if I destroyed something.
If you want to add this feature, I will be happy to write some documentation.
So long & cheers