fix #37: make yank portable

This commit is contained in:
Thomas von Dein
2025-01-22 23:12:42 +01:00
parent 82f54c120d
commit e8f4fef41c
5 changed files with 28 additions and 3 deletions

9
lib/ya_unix.go Normal file
View File

@@ -0,0 +1,9 @@
// +build freebsd linux netbsd openbsd solaris dragonfly
package lib
import "github.com/atotto/clipboard"
func setprimary() {
clipboard.Primary = true
}