feat: add notification box when add value in clipboard

This commit is contained in:
Adrien Waksberg 2020-07-04 09:19:52 +02:00
parent 59c5d7e625
commit 3d728e4dc5

View file

@ -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>":