feat: add notification box when add value in clipboard
This commit is contained in:
parent
59c5d7e625
commit
3d728e4dc5
1 changed files with 2 additions and 0 deletions
|
@ -390,9 +390,11 @@ func (c *Cli) ListEntries(ch chan<- bool) {
|
|||
case "<C-b>":
|
||||
if selected {
|
||||
clipboard.WriteAll(entries[index].User)
|
||||
c.NotificationBox("the username is copied in clipboard", false)
|
||||
}
|
||||
case "<C-c>":
|
||||
if selected {
|
||||
c.NotificationBox("the password is copied in clipboard", false)
|
||||
clipboard.WriteAll(entries[index].Password)
|
||||
}
|
||||
case "<C-o>":
|
||||
|
|
Loading…
Reference in a new issue