From 1c3d9d7623ecff0437db0627cace0cbb421b458a Mon Sep 17 00:00:00 2001
From: Jacob Richman <jacob314@gmail.com>
Date: Fri, 23 May 2025 22:51:47 -0700
Subject: Make console message support more robust to logging in the middle of
 rendering. (#521)

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

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

diff --git a/packages/cli/src/ui/components/DetailedMessagesDisplay.tsx b/packages/cli/src/ui/components/DetailedMessagesDisplay.tsx
index c1d65a9a..1ab78426 100644
--- a/packages/cli/src/ui/components/DetailedMessagesDisplay.tsx
+++ b/packages/cli/src/ui/components/DetailedMessagesDisplay.tsx
@@ -64,6 +64,9 @@ export const DetailedMessagesDisplay: React.FC<
             <Text color={textColor}>{icon} </Text>
             <Text color={textColor} wrap="wrap">
               {msg.content}
+              {msg.count && msg.count > 1 && (
+                <Text color={Colors.SubtleComment}> (x{msg.count})</Text>
+              )}
             </Text>
           </Box>
         );
-- 
cgit v1.2.3

