This follows the Windows strategy of introducing a Set Extension for excluding items from history in MacOS. It's implemented mostly the same way with every set action calling a add_clipboard_exclusions function.
As there isn't technically an official standard it uses the community standard of setting org.nspasteboard.ConcealedType from http://nspasteboard.org/. I've manually tested this using the Maccy clipboard manager and with exclude_history items are no longer tracked.
I was a bit uncertain about the naming of the new trait as it could also be called SetExtMac but I decided to follow the filename.
This follows the Windows strategy of introducing a Set Extension for excluding items from history in MacOS. It's implemented mostly the same way with every set action calling a
add_clipboard_exclusions
function.As there isn't technically an official standard it uses the community standard of setting
org.nspasteboard.ConcealedType
from http://nspasteboard.org/. I've manually tested this using the Maccy clipboard manager and withexclude_history
items are no longer tracked.I was a bit uncertain about the naming of the new trait as it could also be called
SetExtMac
but I decided to follow the filename.