Fix URL truncation in CLI display components #5902 (#5925)

This commit is contained in:
fuyou
2025-08-18 13:26:34 +08:00
committed by GitHub
parent 133f0230c3
commit 7b03a64b85
4 changed files with 24 additions and 5 deletions

View File

@@ -8,6 +8,7 @@ import { ToolConfirmationOutcome } from '@google/gemini-cli-core';
import { Box, Text } from 'ink';
import React from 'react';
import { Colors } from '../colors.js';
import { RenderInline } from '../utils/InlineMarkdownRenderer.js';
import {
RadioButtonSelect,
RadioSelectItem,
@@ -86,7 +87,7 @@ export const ShellConfirmationDialog: React.FC<
>
{commands.map((cmd) => (
<Text key={cmd} color={Colors.AccentCyan}>
{cmd}
<RenderInline text={cmd} />
</Text>
))}
</Box>