mirror of
https://github.com/claude-code-best/claude-code.git
synced 2026-06-17 22:05:50 +00:00
feat: 第一个可以用的 ink 组件抽象 (#158)
This commit is contained in:
@@ -1,7 +1,6 @@
|
||||
import { useEffect, useRef } from 'react'
|
||||
import { KeyboardEvent } from '../ink/events/keyboard-event.js'
|
||||
// eslint-disable-next-line custom-rules/prefer-use-keybindings -- backward-compat bridge until REPL wires handleKeyDown to <Box onKeyDown>
|
||||
import { useInput } from '../ink.js'
|
||||
import { KeyboardEvent, useInput } from '@anthropic/ink'
|
||||
// backward-compat bridge until REPL wires handleKeyDown to <Box onKeyDown>
|
||||
import {
|
||||
type AppState,
|
||||
useAppState,
|
||||
|
||||
Reference in New Issue
Block a user