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>":
|
case "<C-b>":
|
||||||
if selected {
|
if selected {
|
||||||
clipboard.WriteAll(entries[index].User)
|
clipboard.WriteAll(entries[index].User)
|
||||||
|
c.NotificationBox("the username is copied in clipboard", false)
|
||||||
}
|
}
|
||||||
case "<C-c>":
|
case "<C-c>":
|
||||||
if selected {
|
if selected {
|
||||||
|
c.NotificationBox("the password is copied in clipboard", false)
|
||||||
clipboard.WriteAll(entries[index].Password)
|
clipboard.WriteAll(entries[index].Password)
|
||||||
}
|
}
|
||||||
case "<C-o>":
|
case "<C-o>":
|
||||||
|
|
Loading…
Reference in a new issue