feat: 将 keybinding 纳入 ink 管辖

This commit is contained in:
claude-code-best
2026-04-07 17:51:01 +08:00
parent e5782e732c
commit f268b16b31
17 changed files with 1101 additions and 1090 deletions

View File

@@ -14,7 +14,7 @@ import ScrollBox from '../components/ScrollBox.js'
import type { KeyboardEvent } from '../core/events/keyboard-event.js'
import { stringWidth } from '../core/stringWidth.js'
import { Box, Text } from '../index.js'
import { useKeybindings } from './keybindings.js'
import { useKeybindings } from '../keybindings/useKeybinding.js'
import type { Theme } from './theme-types.js'
type TabsProps = {