You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Add captureTab host prop for terminal-style controls #36
GPUI maps Tab and Shift+Tab to FocusNext and FocusPrevious. A focused host div that implements terminal or editor keyboard handling receives keyDown, but the native focus action then moves focus to another control. GPUIX key events do not expose a way for application JavaScript to stop that action, so refocusing from React is racy and subsequent keystrokes can reach the wrong control.
When enabled, the native host element installs handlers for FocusNext and FocusPrevious. GPUI actions stop propagating when a handler does not explicitly propagate, so Tab and Shift+Tab remain on the focused element while its existing keyDown listener still receives both keys.
The implementation touches:
packages/react/src/reconciler/host-config.ts to forward the prop
packages/react/src/types/host.ts for typing
packages/native/src/renderer.rs for the two action handlers
the native floating-controls tests for Tab and Shift+Tab coverage
README focus documentation and patch changesets for @gpuix/react and @gpuix/native
Validation
I have a source patch against GPUIX 0.6.0. The focused regression passes on macOS ARM64, all 14 floating-controls tests pass, and an application integration test confirms Tab, Shift+Tab, continued terminal typing, and fullscreen PTY resize behavior.
May I open a pull request with this implementation?
Activity
release: @gpuix/[email protected] and @gpuix/[email protected]
Perf benchmarks for #36-39: depth scaling, one animating node, clippe…
Guard depth-col perf against exponential nested-column layout (#36)
Document the perf pass (#36-40) in AGENTS.md and README: retained sub…