mirror of
https://github.com/claude-code-best/claude-code.git
synced 2026-06-18 06:15:51 +00:00
feat: 第一个可以用的 ink 组件抽象 (#158)
This commit is contained in:
@@ -3,9 +3,9 @@ import { useCallback, useEffect, useState } from 'react'
|
||||
import type { CommandResultDisplay } from '../../commands.js'
|
||||
import { TEARDROP_ASTERISK } from '../../constants/figures.js'
|
||||
import { useExitOnCtrlCDWithKeybindings } from '../../hooks/useExitOnCtrlCDWithKeybindings.js'
|
||||
import { setClipboard } from '../../ink/termio/osc.js'
|
||||
import { setClipboard } from '@anthropic/ink'
|
||||
// eslint-disable-next-line custom-rules/prefer-use-keybindings -- enter to copy link
|
||||
import { Box, Link, Text, useInput } from '../../ink.js'
|
||||
import { Box, Link, Text, useInput } from '@anthropic/ink'
|
||||
import { useKeybinding } from '../../keybindings/useKeybinding.js'
|
||||
import { logEvent } from '../../services/analytics/index.js'
|
||||
import {
|
||||
@@ -19,7 +19,7 @@ import type {
|
||||
} from '../../services/oauth/types.js'
|
||||
import { count } from '../../utils/array.js'
|
||||
import { logError } from '../../utils/log.js'
|
||||
import { Pane } from '../design-system/Pane.js'
|
||||
import { Pane } from '@anthropic/ink'
|
||||
|
||||
type PassStatus = {
|
||||
passNumber: number
|
||||
|
||||
Reference in New Issue
Block a user