setPasteControlPolicy
Updates only the active paste control-character 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 control-character policy; bracketed-paste protection remains enabled.