288372dc78
In Ink (App.tsx v7.0.4, 40b3a75) the isFocusEnabled guard lives ONLY in handleTabNavigation, not in focusNext/focusPrevious. So after disableFocus() pressing Tab/Shift-Tab is a no-op, but a programmatic useFocusManager().focusNext()/focusPrevious() still moves focus. vue-tui previously short-circuited focusNext/focusPrevious on the internal `enabled` flag, making the programmatic API a no-op while focus was disabled — divergent from Ink. Move the enabled-check out of focusNext/focusPrevious and into the Tab/Shift-Tab input listener (mirroring handleTabNavigation), keeping the focusables.length === 0 short-circuit so focusing an empty/unmounted tree stays a harmless no-op. The now-redundant local `enabled` is dropped in favor of ctx.enabled as the single source of truth. Co-authored-by: Claude Opus 4.8 <noreply@anthropic.com>