feat(cli): Standardize keyboard shortcut hints (#1092)

This commit is contained in:
N. Taylor Mullen 2025-06-15 23:21:58 -07:00 committed by GitHub
parent cc7459e403
commit 742caa5dd8
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 4 additions and 4 deletions

View File

@ -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>

View File

@ -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)';
} }
} }
} }