Group of 2 Use it now
Full-screen terminal panes gain hover, drag, press and release pointer events plus a shared press subscription
What
- The terminal input handler now dispatches
onPointerHover,onPointerDrag,onPointerPressandonPointerReleasecallbacks, 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. - The internal terminal app context gained a
subscribePointerPressessubscription, alongside the existingsubscribeLayout. The renderer implements it with a real listener set and atellPressedNowhere()method that fires listeners withnull; this is used by a consumer to deselect focus when a click lands elsewhere.
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.