mirror of
https://github.com/rwinkhart/libmutton.git
synced 2026-09-01 06:46:38 -04:00
Allow clearing the clipboard instantly; improve code sharing between platforms; facilitate GUI/TUI client development regarding the clipboard
This commit is contained in:
@@ -0,0 +1,9 @@
|
||||
//go:build (windows || darwin || android || termux || wsl) && returnOnExit
|
||||
|
||||
package core
|
||||
|
||||
// launchClipClearProcess launches the automated clipboard clearing process.
|
||||
// For interactive GUI/TUI implementations, the clipboard clearing process is launched as a goroutine.
|
||||
func launchClipClearProcess(copySubject string) {
|
||||
go clipClearProcess(copySubject)
|
||||
}
|
||||
Reference in New Issue
Block a user