{"version":"2.1.247","anchor":"plugins-can-receive-key-presses-through-the-ui-hook-interfac","canonical_anchor":"plugins-can-receive-key-presses-through-the-ui-hook-interfac","heading":"Plugins can receive key presses through the UI hook interface","tier":"internal","area":"Plugins","scope":null,"heads_up":null,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.247\/e\/plugins-can-receive-key-presses-through-the-ui-hook-interfac","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.247","markdown":"### Plugins can receive key presses through the UI hook interface\n\nPlugins can now be handed key presses through the UI hook interface.\n\n**What**\n\nThe plugin worker interface adds a way to deliver a key press to a plugin and to release presses it is holding, both scoped to a plugin environment.\n\n**Details**\n\n- Each call is bounded by the shared handler time budget.\n- A press whose payload cannot be structured-cloned is rejected with a message saying the press is not plain data.\n- Tearing down or retiring a plugin now forgets any presses it was still holding.\n\n**Evidence**\n\n`ui.press: the press is not plain data: `\n\n- Area: Plugins\n- Tier: Under the hood\n- Useful: 2\/5\n- Signal: 3\/5"}