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:
@@ -1,7 +1,6 @@
|
||||
import { useCallback, useState } from 'react'
|
||||
import { KeyboardEvent } from '../ink/events/keyboard-event.js'
|
||||
// eslint-disable-next-line custom-rules/prefer-use-keybindings -- backward-compat bridge until consumers wire handleKeyDown to <Box onKeyDown>
|
||||
import { useInput } from '../ink.js'
|
||||
import { KeyboardEvent, useInput } from '@anthropic/ink'
|
||||
// backward-compat bridge until consumers wire handleKeyDown to <Box onKeyDown>
|
||||
import {
|
||||
Cursor,
|
||||
getLastKill,
|
||||
|
||||
Reference in New Issue
Block a user