mirror of
https://github.com/QwenLM/qwen-code.git
synced 2025-12-20 16:57:46 +00:00
feat(cli): Standardize keyboard shortcut hints (#1092)
This commit is contained in:
@@ -27,7 +27,7 @@ export const ConsoleSummaryDisplay: React.FC<ConsoleSummaryDisplayProps> = ({
|
|||||||
{errorCount > 0 && (
|
{errorCount > 0 && (
|
||||||
<Text color={Colors.AccentRed}>
|
<Text color={Colors.AccentRed}>
|
||||||
{errorIcon} {errorCount} error{errorCount > 1 ? 's' : ''}{' '}
|
{errorIcon} {errorCount} error{errorCount > 1 ? 's' : ''}{' '}
|
||||||
<Text color={Colors.Gray}>(ctrl+O for details)</Text>
|
<Text color={Colors.Gray}>(ctrl+o for details)</Text>
|
||||||
</Text>
|
</Text>
|
||||||
)}
|
)}
|
||||||
</Box>
|
</Box>
|
||||||
|
|||||||
@@ -49,12 +49,12 @@ export const ContextSummaryDisplay: React.FC<ContextSummaryDisplayProps> = ({
|
|||||||
}
|
}
|
||||||
if (mcpText) {
|
if (mcpText) {
|
||||||
summaryText += mcpText;
|
summaryText += mcpText;
|
||||||
// Add Ctrl+T hint when MCP servers are available
|
// Add ctrl+t hint when MCP servers are available
|
||||||
if (mcpServers && Object.keys(mcpServers).length > 0) {
|
if (mcpServers && Object.keys(mcpServers).length > 0) {
|
||||||
if (showToolDescriptions) {
|
if (showToolDescriptions) {
|
||||||
summaryText += ' (Ctrl+T to hide descriptions)';
|
summaryText += ' (ctrl+t to toggle)';
|
||||||
} else {
|
} else {
|
||||||
summaryText += ' (Ctrl+T to view descriptions)';
|
summaryText += ' (ctrl+t to view)';
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user