mirror of
https://github.com/QwenLM/qwen-code.git
synced 2025-12-20 16:57:46 +00:00
Move Intro to Help and only display after help command.
This commit is contained in:
@@ -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:
|
||||
Reference in New Issue
Block a user