From 05883d6a91f053963d75f4b84977aa9ceefe35b2 Mon Sep 17 00:00:00 2001 From: Andrew Blakeslee Moore Date: Sat, 27 Jun 2026 20:19:05 -0700 Subject: [PATCH] Add Markdown Formatting Nucleic-Session: 23936B4B-52E9-43F5-908B-C7919A5BD6DD Co-authored-by: Nucleic --- .../NucleicRemote/Views/Transcript/HostExecCard.swift | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/NucleicRemote/NucleicRemote/Views/Transcript/HostExecCard.swift b/NucleicRemote/NucleicRemote/Views/Transcript/HostExecCard.swift index 99acd3e..a7ae46a 100644 --- a/NucleicRemote/NucleicRemote/Views/Transcript/HostExecCard.swift +++ b/NucleicRemote/NucleicRemote/Views/Transcript/HostExecCard.swift @@ -69,7 +69,9 @@ struct HostExecToolCard: View { Text("$").font(.caption.monospaced()).foregroundStyle(Palette.accent.opacity(0.7)) Text(command) .font(.caption.monospaced()).foregroundStyle(.secondary) - .lineLimit(expanded ? nil : 1).truncationMode(.middle) + // Expanded, the literal stays bounded — a long chain's command is itself + // long, and the compact step list above carries the structure. + .lineLimit(expanded ? 6 : 1).truncationMode(.middle) .textSelection(.enabled) } }