Fix cmd pop-up on background clipclear on Windows

This commit is contained in:
2026-02-17 20:10:24 -05:00
parent 8da2648664
commit e9f49fb98a
3 changed files with 7 additions and 1 deletions
+10
View File
@@ -0,0 +1,10 @@
//go:build !ios && !android && interactive
package clip
// LaunchClearProcess 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 LaunchClearProcess(copySubject []byte) {
go ClearProcess(copySubject)
}