mirror of
https://github.com/rwinkhart/libmutton.git
synced 2026-08-28 04:46:42 -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