diff --git a/B07_DesignDetail/openwebcad/src/inputController/prompt-input.ts b/B07_DesignDetail/openwebcad/src/inputController/prompt-input.ts index 44978e933..d08439020 100644 --- a/B07_DesignDetail/openwebcad/src/inputController/prompt-input.ts +++ b/B07_DesignDetail/openwebcad/src/inputController/prompt-input.ts @@ -379,8 +379,9 @@ export function routeTyped(raw: string): void { return; } if (text.startsWith("'")) return routeTransparent(text.slice(1)); - const own = subPrompt()?.onText?.(text); - if (own) return settle(own); + const textSub = subPrompt(); + const own = textSub?.onText?.(text); + if (textSub && own) return settle(textSub, own); if (prompt.kind === 'idle') { // ⑨ 이름 > 내 별칭 > 기본 별칭 딱 맞음만 const command = resolveCommandInput(text);