Return immediately after clearing clipboard (useful for GUI/TUI clients)

This commit is contained in:
2025-01-16 15:57:34 -05:00
parent c71cacb507
commit 55be8a3075
+1
View File
@@ -88,6 +88,7 @@ func clipClearProcess(assignedContents string) {
// if assignedContents is empty, clear the clipboard immediately and unconditionally
if assignedContents == "" {
clearClipboard()
return
}
// wait 30 seconds before checking clipboard contents