We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 69c866e commit 1ace2d3Copy full SHA for 1ace2d3
Wave/Services/PasteService.swift
@@ -33,7 +33,11 @@ struct PasteService {
33
}
34
35
pasteboard.clearContents()
36
- pasteboard.setString(text, forType: .string)
+ // Write with ConcealedType so clipboard managers skip recording this transient write
37
+ let item = NSPasteboardItem()
38
+ item.setString(text, forType: .string)
39
+ item.setData(Data(), forType: NSPasteboard.PasteboardType("org.nspasteboard.ConcealedType"))
40
+ pasteboard.writeObjects([item])
41
42
// Simulate Cmd+V
43
let src = CGEventSource(stateID: .hidSystemState)
0 commit comments