diff options
author | Ayush Agarwal <ayush@fastmail.in> | 2021-09-20 02:13:50 +0530 |
---|---|---|
committer | Ayush Agarwal <ayush@fastmail.in> | 2021-09-20 02:13:50 +0530 |
commit | 46cedab4ea6ba252a3181147ce7bd7a702f7633e (patch) | |
tree | 6b34916d439ef7dc32b317153d03f1034b0d895a | |
parent | a11debec0c7fd8e2bef74064438d5c4599ecbbce (diff) |
add an option to perform autotype AND copyv0.6.1
To mitigate possible inaccuracies while autotyping, an option to let the
user perform autotyping AND copying of a key-value pair at the same
time has been added.
Of course, this doesn't work if the user selects `autotype` in the 2nd
stage menu. I guess I'll change the text of that key for clarity.
-rwxr-xr-x | tessen | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -112,6 +112,9 @@ key_menu() { exit 0 elif [[ "${ACTION-}" == "copy" ]]; then wld_copy "$_KEY" + elif [[ "${ACTION-}" == "both" ]]; then + auto_type "$_KEY" + wld_copy "$_KEY" elif [[ -z "${ACTION-}" ]]; then tmp_key="$_KEY" get_key opt_key_list |