From 46cedab4ea6ba252a3181147ce7bd7a702f7633e Mon Sep 17 00:00:00 2001 From: Ayush Agarwal Date: Mon, 20 Sep 2021 02:13:50 +0530 Subject: add an option to perform autotype AND copy 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. --- tessen | 3 +++ 1 file changed, 3 insertions(+) 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 -- cgit v1.2.3