mirror of
https://github.com/claude-code-best/claude-code.git
synced 2026-06-15 12:55:51 +00:00
fix: 修复 permission 面板
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
import * as React from 'react'
|
||||
import { useCallback, useEffect, useState } from 'react'
|
||||
// eslint-disable-next-line custom-rules/prefer-use-keybindings -- 'r' is a view-specific key, not a global keybinding
|
||||
import { Box, Text, useInput } from '@anthropic/ink'
|
||||
import { Box, Text, useInput, useTabHeaderFocus } from '@anthropic/ink'
|
||||
import {
|
||||
type AutoModeDenial,
|
||||
getAutoModeDenials,
|
||||
|
||||
@@ -4,7 +4,7 @@ import { useCallback, useEffect } from 'react'
|
||||
import { getOriginalCwd } from '../../../bootstrap/state.js'
|
||||
import type { CommandResultDisplay } from '../../../commands.js'
|
||||
import { Select } from '../../../components/CustomSelect/select.js'
|
||||
import { Box, Text } from '@anthropic/ink'
|
||||
import { Box, Text, useTabHeaderFocus } from '@anthropic/ink'
|
||||
import type { ToolPermissionContext } from '../../../Tool.js'
|
||||
|
||||
type Props = {
|
||||
|
||||
Reference in New Issue
Block a user