mirror of
https://github.com/claude-code-best/claude-code.git
synced 2026-06-18 22:35:51 +00:00
refactor: 大规模迁移原有组件到 ink 包内
This commit is contained in:
@@ -14,8 +14,7 @@ import stripAnsi from 'strip-ansi'
|
||||
import type { CommandResultDisplay } from '../commands.js'
|
||||
import { useTerminalSize } from '../hooks/useTerminalSize.js'
|
||||
// eslint-disable-next-line custom-rules/prefer-use-keybindings -- raw j/k/arrow stats navigation
|
||||
import { Ansi, applyColor, Box, Text, useInput, stringWidth as getStringWidth, type Color, Pane, Tabs } from '@anthropic/ink'
|
||||
import { Tab, useTabHeaderFocus } from './design-system/Tabs.js'
|
||||
import { Ansi, applyColor, Box, Text, useInput, stringWidth as getStringWidth, type Color, Pane, Tab, Tabs, useTabHeaderFocus } from '@anthropic/ink'
|
||||
import { useKeybinding } from '../keybindings/useKeybinding.js'
|
||||
import { getGlobalConfig } from '../utils/config.js'
|
||||
import { formatDuration, formatNumber } from '../utils/format.js'
|
||||
|
||||
Reference in New Issue
Block a user