commit a718812627e071d7578f9e96069992c1486de29c
parent 04fd45e82666a94b0cea39d4fb75a5192365f21f
Author: Sean Enck <sean@ttypty.com>
Date: Thu, 14 Jul 2022 18:22:39 -0400
fixing an issue with detection
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/internal/clip.go b/internal/clip.go
@@ -26,7 +26,7 @@ func GetClipboardCommand() ([]string, []string, error) {
return nil, nil, err
}
raw := strings.TrimSpace(string(b))
- parts := strings.Split(raw, "")
+ parts := strings.Split(raw, " ")
switch parts[0] {
case "Darwin":
env = pbClipMode