From 7b03a64b8501a736af8e605f399922a14b8feebb Mon Sep 17 00:00:00 2001
From: fuyou <imshuazi@126.com>
Date: Mon, 18 Aug 2025 13:26:34 +0800
Subject: Fix URL truncation in CLI display components #5902 (#5925)

---
 packages/cli/src/ui/components/ShellConfirmationDialog.tsx | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

(limited to 'packages/cli/src/ui/components/ShellConfirmationDialog.tsx')

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>
-- 
cgit v1.2.3

