diff options
| author | fuyou <[email protected]> | 2025-08-18 13:26:34 +0800 |
|---|---|---|
| committer | GitHub <[email protected]> | 2025-08-18 05:26:34 +0000 |
| commit | 7b03a64b8501a736af8e605f399922a14b8feebb (patch) | |
| tree | bc2c6fccec9b2d66deaa5a09e5f5756b1f45c318 /packages/cli/src/ui/components/ShellConfirmationDialog.tsx | |
| parent | 133f0230c3d347a1d02c5babc3f1a301622c4f67 (diff) | |
Fix URL truncation in CLI display components #5902 (#5925)
Diffstat (limited to 'packages/cli/src/ui/components/ShellConfirmationDialog.tsx')
| -rw-r--r-- | packages/cli/src/ui/components/ShellConfirmationDialog.tsx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/packages/cli/src/ui/components/ShellConfirmationDialog.tsx b/packages/cli/src/ui/components/ShellConfirmationDialog.tsx index 04e57364..5a210577 100644 --- a/packages/cli/src/ui/components/ShellConfirmationDialog.tsx +++ b/packages/cli/src/ui/components/ShellConfirmationDialog.tsx @@ -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> |
