mirror of
https://github.com/claude-code-best/claude-code.git
synced 2026-06-23 16:55:51 +00:00
fix: PromptInput 在 local-jsx 命令激活时跳过键盘处理
PromptInput 的 useInput 没有 isLocalJSXCommandActive 检查, 导致所有键盘事件被 PromptInput 消费,local-jsx 命令面板 (如 /pokemon-battle)无法接收输入。新增该检查。 Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -2242,7 +2242,8 @@ function PromptInput({
|
|||||||
showTeamsDialog ||
|
showTeamsDialog ||
|
||||||
showQuickOpen ||
|
showQuickOpen ||
|
||||||
showGlobalSearch ||
|
showGlobalSearch ||
|
||||||
showHistoryPicker
|
showHistoryPicker ||
|
||||||
|
isLocalJSXCommandActive
|
||||||
) {
|
) {
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user