mirror of
https://github.com/rwinkhart/libmutton.git
synced 2026-10-26 22:09:56 -04:00
Fix LaunchClipClearProcess() for GUI platforms
This commit is contained in:
1 parent
483af75613
commit
a3b89fcb96
2 files changed
+2
-2
No files matched your search
@@ -6,5 +6,5 @@ package clip
|
||||
// For interactive GUI/TUI implementations, the clipboard clearing process is launched as a goroutine.
|
||||
// copySubject can be omitted to clear the clipboard immediately and unconditionally.
|
||||
func LaunchClipClearProcess(copySubject string) {
|
||||
go clipClearProcess(copySubject)
|
||||
go ClipClearProcess(copySubject)
|
||||
}
|
||||
@@ -12,5 +12,5 @@ import (
|
||||
// copySubject can be omitted to clear the clipboard immediately and unconditionally.
|
||||
func LaunchClipClearProcess(copySubject string, isWayland bool) {
|
||||
os.Args = []string{os.Args[0], "", strconv.FormatBool(isWayland)}
|
||||
go clipClearProcess(copySubject)
|
||||
go ClipClearProcess(copySubject)
|
||||
}
|
||||
Reference in new issue
Block a user