Fix compilation for Windows

This commit is contained in:
2025-11-10 23:17:40 -05:00
parent a0f21b31f7
commit bc793178e1
23 changed files with 23 additions and 6 deletions
+10
View File
@@ -0,0 +1,10 @@
//go:build (windows || darwin || android || ios || termux || wsl) && interactive
package clip
// LaunchClipClearProcess launches the timed clipboard clearing process.
// For interactive GUI/TUI implementations, the clipboard clearing process is launched as a goroutine.
// copySubject can be omitted to clear the clipboard immediately and unconditionally.
func LaunchClipClearProcess(copySubject string) {
go ClipClearProcess(copySubject)
}