mirror of
https://github.com/NotAShelf/stash.git
synced 2026-04-13 14:33:47 +00:00
list: add clipboard actions for delete and copy; notify
This adds an optional dependency on notify-rust, which we use to display notifications when an entry is deleted or copied. If the user thinks a TUI using desktop notifications is *not* desirable, it can be disabled with the `notifications` feature flag. We now support copying entries to the clipboard with `Enter` and deleting entries with `Shift+D`. Both of those will show notifications. Signed-off-by: NotAShelf <raf@notashelf.dev> Change-Id: I6a6a69642d0c13a1359b3b51125cc4b691cd5679
This commit is contained in:
parent
514572b804
commit
4c0782f80e
4 changed files with 651 additions and 11 deletions
|
|
@ -110,7 +110,7 @@ enum Command {
|
|||
ask: bool,
|
||||
},
|
||||
|
||||
/// Watch clipboard for changes and store automatically
|
||||
/// Start a process to watch clipboard for changes and store automatically.
|
||||
Watch,
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue