summaryrefslogtreecommitdiff
path: root/tessen
diff options
context:
space:
mode:
authorAyush Agarwal <ayush@fastmail.in>2021-09-20 02:13:50 +0530
committerAyush Agarwal <ayush@fastmail.in>2021-09-20 02:13:50 +0530
commit46cedab4ea6ba252a3181147ce7bd7a702f7633e (patch)
tree6b34916d439ef7dc32b317153d03f1034b0d895a /tessen
parenta11debec0c7fd8e2bef74064438d5c4599ecbbce (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.
Diffstat (limited to 'tessen')
-rwxr-xr-xtessen3
1 files changed, 3 insertions, 0 deletions
diff --git a/tessen b/tessen
index 850002d..90b84e6 100755
--- a/tessen
+++ b/tessen
@@ -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