[READ-ONLY] Mirror of https://github.com/bombshell-dev/tty. Platform independent 2D layout engine for terminal applications based on Clay bomb.sh/docs/tty
Something went wrong. Try again.
feat(examples): drag shield keeps the grabbing cursor anywhere while held master
Dragging off the grab tile previously reverted the cursor to default, since §7.9 resolves the shape by hit-testing the pointer position. That is the CSS-behavior-correct rule, so the fix lives in userland, not the spec: while held, the demo appends a capture-mode floating overlay that declares grabbing across the viewport. The shield wins the hit test everywhere, freezing hover beneath it exactly like browsers freeze :hover during a drag, and disappears on release. Verified headlessly through the real parser and renderer: grab → grabbing on press, no change dragging to the far corner, default on release in empty space, state clean after.
Author Nate Moore Date (Oct 10, 2026, 5:26 PM UTC) Commit 189e2a3e 189e2a3e7300c3bbcd519a8e962ea2536dbd7d13 Parent cdb62407 cdb624072d85f417b649a5128b4e0584a335e208