mirror of
https://github.com/rwinkhart/libmutton.git
synced 2026-09-03 23:57:27 -04:00
Return immediately after clearing clipboard (useful for GUI/TUI clients)
This commit is contained in:
@@ -88,6 +88,7 @@ func clipClearProcess(assignedContents string) {
|
|||||||
// if assignedContents is empty, clear the clipboard immediately and unconditionally
|
// if assignedContents is empty, clear the clipboard immediately and unconditionally
|
||||||
if assignedContents == "" {
|
if assignedContents == "" {
|
||||||
clearClipboard()
|
clearClipboard()
|
||||||
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
// wait 30 seconds before checking clipboard contents
|
// wait 30 seconds before checking clipboard contents
|
||||||
|
|||||||
Reference in New Issue
Block a user