mirror of
https://github.com/claude-code-best/claude-code.git
synced 2026-06-18 22:35:51 +00:00
feat: 第一个可以用的 ink 组件抽象 (#158)
This commit is contained in:
@@ -1,6 +1,5 @@
|
||||
import React from 'react'
|
||||
import { stringWidth } from '../ink/stringWidth.js'
|
||||
import { Box, Text } from '../ink.js'
|
||||
import { Box, Text, stringWidth } from '@anthropic/ink'
|
||||
import { truncateToWidth } from '../utils/format.js'
|
||||
|
||||
// Constants for width calculations - derived from actual rendered strings
|
||||
|
||||
Reference in New Issue
Block a user