mirror of
https://github.com/rwinkhart/libmutton.git
synced 2026-08-28 04:46:42 -04:00
Fix cmd pop-up on background clipclear on Windows
This commit is contained in:
@@ -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)
|
||||
}
|
||||
Reference in New Issue
Block a user