mirror of
https://github.com/QwenLM/qwen-code.git
synced 2026-04-30 20:50:34 +00:00
Move Intro to Help and only display after help command.
This commit is contained in:
parent
415b757d4a
commit
bb52149a06
4 changed files with 21 additions and 15 deletions
|
|
@ -9,11 +9,11 @@ import { Box, Text } from 'ink';
|
|||
import { Colors } from '../colors.js';
|
||||
import { SlashCommand } from '../hooks/slashCommandProcessor.js';
|
||||
|
||||
interface Intro {
|
||||
interface Help {
|
||||
commands: SlashCommand[];
|
||||
}
|
||||
|
||||
export const Intro: React.FC<Intro> = ({ commands }) => (
|
||||
export const Help: React.FC<Help> = ({ commands }) => (
|
||||
<Box flexDirection="column" marginBottom={1}>
|
||||
<Text bold color={Colors.Foreground}>
|
||||
Abilities:
|
||||
Loading…
Add table
Add a link
Reference in a new issue