Fix dialog focus
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
import { useInput } from 'ink';
|
||||
import { useBlockableInput } from '../../../hooks/useInputLayer.js';
|
||||
import type { ActionWizardState } from './useActionWizard.js';
|
||||
|
||||
/**
|
||||
@@ -9,7 +9,7 @@ import type { ActionWizardState } from './useActionWizard.js';
|
||||
* component to keep it purely presentational.
|
||||
*/
|
||||
export function useWizardKeyboard(wizard: ActionWizardState): void {
|
||||
useInput(
|
||||
useBlockableInput(
|
||||
(input, key) => {
|
||||
// ── Tab: cycle through content and button bar ─────────
|
||||
if (key.tab) {
|
||||
|
||||
Reference in New Issue
Block a user