From 04d2357f3c3611e88d1a0da2e6fb6db0d9e16076 Mon Sep 17 00:00:00 2001 From: Bernd Schoolmann Date: Wed, 6 Dec 2023 02:40:03 +0100 Subject: [PATCH] Prevent multiple autotype permission dialogs --- autofill/autofill.go | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/autofill/autofill.go b/autofill/autofill.go index 6c9fe5f..7c9a4cf 100644 --- a/autofill/autofill.go +++ b/autofill/autofill.go @@ -77,9 +77,7 @@ func Run(layout string, useCopyPaste bool, client client.Client) { clipboard.WriteAll(login.Password) autotype.Paste(layout) } else { - autotype.TypeString(string(login.Username), layout) - autotype.TypeString("\t", layout) - autotype.TypeString(string(login.Password), layout) + autotype.TypeString(string(login.Username)+"\t"+string(login.Password), layout) } clipboard.WriteAll(login.TwoFactorCode)