From b265467dc44aaa25521a84f5921767abd55f26c2 Mon Sep 17 00:00:00 2001 From: Ilya Turkin <63l06ri5@gmail.com> Date: Mon, 1 Feb 2021 17:34:13 +0300 Subject: [PATCH] clear before paste files --- main.go | 1 + 1 file changed, 1 insertion(+) diff --git a/main.go b/main.go index 6121ad9..55f4e85 100644 --- a/main.go +++ b/main.go @@ -44,6 +44,7 @@ func PasteFileList(filePaths []string) { if pb == nil { pb = ns.NSPasteboardGeneralPasteboard() } + pb.ClearContents() pb.PasteFileList(filePaths) }