{"version":"2.1.267","anchor":"new-generic-pointer-event-api-for-alt-screen-ui-components","canonical_anchor":"new-generic-pointer-event-api-for-alt-screen-ui-components","heading":"New pointer-event handling for full-screen terminal UI panes","tier":"use","area":"Plugin UI","scope":null,"heads_up":null,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.267\/e\/new-generic-pointer-event-api-for-alt-screen-ui-components","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.267","markdown":"### New pointer-event handling for full-screen terminal UI panes\n\nFull-screen terminal panes gain hover, drag, press and release pointer events plus a shared press subscription\n\n**What**\n\n- The terminal input handler now dispatches `onPointerHover`, `onPointerDrag`, `onPointerPress` and `onPointerRelease` callbacks, in addition to existing selection\/click handling, and walks the UI's node tree to find and invoke a node's own pointer handler when in alt-screen (full-screen) mode.\n\n- The internal terminal app context gained a `subscribePointerPresses` subscription, alongside the existing `subscribeLayout`. The renderer implements it with a real listener set and a `tellPressedNowhere()` method that fires listeners with `null`; this is used by a consumer to deselect focus when a click lands elsewhere.\n\n**Why** This lays groundwork for interactive full-screen (alt-screen) panes to handle mouse events like hovering, dragging and clicking directly, and lets UI components react when a click happens outside them, such as clearing focus.\n\n- Area: Plugin UI\n- Tier: Use it now\n- Useful: 3\/5\n- Signal: 2\/5"}