Export ClipClearProcess()

This commit is contained in:
2025-11-09 23:57:26 -05:00
parent 8f4590cf34
commit 9703790336
3 changed files with 5 additions and 5 deletions
+2 -2
View File
@@ -10,9 +10,9 @@ import (
"github.com/rwinkhart/go-boilerplate/back"
)
// clipClearProcess clears the clipboard after 30 seconds if the clipboard contents have not changed.
// ClipClearProcess clears the clipboard after 30 seconds if the clipboard contents have not changed.
// assignedContents can be omitted to clear the clipboard immediately and unconditionally.
func clipClearProcess(assignedContents string) error {
func ClipClearProcess(assignedContents string) error {
cmdPaste, cmdClear := getClipCommands()
clearClipboard := func() error {