mirror of
https://github.com/rwinkhart/libmutton.git
synced 2026-10-26 22:09:56 -04:00
Return immediately after clearing clipboard (useful for GUI/TUI clients)
This commit is contained in:
1 parent
c71cacb507
commit
55be8a3075
1 file changed
+1
@@ -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
|
||||
|
||||
Reference in new issue
Block a user