commit 970b6abdb44fb368a9232e8c42975fe0ef1c6536
parent c06ab7d8b5d5cd3a3eb3449f9df982879c38fbff
Author: Sean Enck <sean@ttypty.com>
Date: Sat, 1 Oct 2022 11:55:21 -0400
this should NOT be isShow for clipboard
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/cmd/main.go b/cmd/main.go
@@ -148,7 +148,7 @@ func run() *programError {
entry := getEntry(args, 2)
clipboard := platform.Clipboard{}
isShow := command == "show"
- if isShow {
+ if !isShow {
clipboard, err = platform.NewClipboard()
if err != nil {
return newError("unable to get clipboard", err)