Skip to content

Commit f17b7c7

Browse files
2228293026HitMargin
andauthored
修复使用/help 后再按左右键报错 (#212)
* 添加status命令里更多模型api介绍 * Fix: /help error --------- Co-authored-by: HitMargin <hitmargin@qq.com>
1 parent 7f69416 commit f17b7c7

2 files changed

Lines changed: 9 additions & 7 deletions

File tree

contributors.svg

Lines changed: 6 additions & 6 deletions
Loading

src/components/HelpV2/Commands.tsx

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,9 @@
11
import * as React from 'react'
22
import { useMemo } from 'react'
33
import { type Command, formatDescriptionWithSource } from '../../commands.js'
4-
import { Box, Text } from '@anthropic/ink'
4+
import { truncate } from '../../utils/truncate.js'
5+
import { Box, Text, useTabHeaderFocus } from '@anthropic/ink'
6+
import { Select } from '../CustomSelect/select.js'
57

68
type Props = {
79
commands: Command[]

0 commit comments

Comments
 (0)