Skip to content

Commit 3b73e22

Browse files
author
Anand
committed
Clipboard copy flag with password copy support
1 parent 805252c commit 3b73e22

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

actions.go

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -353,6 +353,11 @@ func listCurrentEntry(idString string) error {
353353

354354
err = printEntry(entry, true)
355355

356+
if err == nil && settingsRider.CopyPassword {
357+
// fmt.Printf("Copying password " + entry.Password + " to clipboard\n")
358+
copyPasswordToClipboard(entry.Password)
359+
}
360+
356361
return err
357362
}
358363

0 commit comments

Comments
 (0)