mirror of
https://github.com/QwenLM/qwen-code.git
synced 2025-12-20 16:57:46 +00:00
Color enhancements (#680)
This commit is contained in:
@@ -27,7 +27,7 @@ export const ConsoleSummaryDisplay: React.FC<ConsoleSummaryDisplayProps> = ({
|
||||
{errorCount > 0 && (
|
||||
<Text color={Colors.AccentRed}>
|
||||
{errorIcon} {errorCount} error{errorCount > 1 ? 's' : ''}{' '}
|
||||
<Text color={Colors.SubtleComment}>(CTRL-O for details)</Text>
|
||||
<Text color={Colors.SubtleComment}>(ctrl+O for details)</Text>
|
||||
</Text>
|
||||
)}
|
||||
</Box>
|
||||
|
||||
@@ -33,7 +33,7 @@ export const DetailedMessagesDisplay: React.FC<
|
||||
<Box marginBottom={1}>
|
||||
<Text bold color={Colors.Foreground}>
|
||||
Debug Console{' '}
|
||||
<Text color={Colors.SubtleComment}>(CTRL-O to close)</Text>
|
||||
<Text color={Colors.SubtleComment}>(ctrl+O to close)</Text>
|
||||
</Text>
|
||||
</Box>
|
||||
{messages.map((msg, index) => {
|
||||
|
||||
@@ -64,10 +64,15 @@ export const Footer: React.FC<FooterProps> = ({
|
||||
</Text>
|
||||
) : process.env.SANDBOX === 'sandbox-exec' ? (
|
||||
<Text color={Colors.AccentYellow}>
|
||||
sandbox-exec ({process.env.SEATBELT_PROFILE})
|
||||
sandbox-exec{' '}
|
||||
<Text color={Colors.SubtleComment}>
|
||||
({process.env.SEATBELT_PROFILE})
|
||||
</Text>
|
||||
</Text>
|
||||
) : (
|
||||
<Text color={Colors.AccentRed}>no sandbox (see README)</Text>
|
||||
<Text color={Colors.AccentRed}>
|
||||
no sandbox <Text color={Colors.SubtleComment}>(see README)</Text>
|
||||
</Text>
|
||||
)}
|
||||
</Box>
|
||||
|
||||
|
||||
@@ -37,8 +37,8 @@ export const LoadingIndicator: React.FC<LoadingIndicatorProps> = ({
|
||||
}
|
||||
/>
|
||||
</Box>
|
||||
<Text color={Colors.AccentPurple}>
|
||||
{currentLoadingPhrase}
|
||||
<Text color={Colors.AccentPurple}>{currentLoadingPhrase}</Text>
|
||||
<Text color={Colors.SubtleComment}>
|
||||
{streamingState === StreamingState.WaitingForConfirmation
|
||||
? ''
|
||||
: ` (esc to cancel, ${elapsedTime}s)`}
|
||||
|
||||
@@ -260,7 +260,7 @@ const renderDiffContent = (
|
||||
|
||||
acc.push(
|
||||
<Box key={lineKey} flexDirection="row">
|
||||
<Text color={Colors.Foreground}>{gutterNumStr.padEnd(4)} </Text>
|
||||
<Text color={Colors.SubtleComment}>{gutterNumStr.padEnd(4)} </Text>
|
||||
<Text color={color} dimColor={dim}>
|
||||
{prefixSymbol}{' '}
|
||||
</Text>
|
||||
|
||||
Reference in New Issue
Block a user