setPasteSanitizationPolicy

Updates only the active paste sanitization policy.

Other host-bound input behavior, including PTY-specific Return handling, is preserved. The update is serialized with input encoding because the default encoder owns reusable scratch buffers.

Parameters

policy

new paste sanitization policy.