mirror of
https://github.com/rwinkhart/libmutton.git
synced 2026-08-28 04:46:42 -04:00
11 lines
444 B
Go
11 lines
444 B
Go
//go:build (windows || darwin || android || ios || termux || wsl) && interactive
|
|
|
|
package core
|
|
|
|
// 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)
|
|
}
|