Make console message support more robust to logging in the middle of rendering. (#521)

This commit is contained in:
Jacob Richman
2025-05-23 22:51:47 -07:00
committed by GitHub
parent 7a3a9066f9
commit 1c3d9d7623
6 changed files with 313 additions and 16 deletions

View File

@@ -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>
);