Elffuss BraidHub

kikocis/continue public

Merge pull request #7127 from uinstinct/terminal-output

style: remove space between terminal command and output
Changesetf93faf7895c266eccbbd7aae738ad4ff491beb6eb3107bfe1b59f26767e5c189
AuthorTing-Wai <40179554+tingwai@users.noreply.github.com> · 2025-08-14 09:15 -07:00
CommitterGitHub <noreply@github.com> · 2025-08-14 09:15 -07:00
Parentsdaf46022d59b, 4db7e4f9992e

Browse the files at this changeset

1 file changed

modified gui/src/pages/gui/ToolCallDiv/RunTerminalCommand.tsx +6 −10
@@ -117,17 +117,13 @@
117117 <TerminalCollapsibleContainer
118118 collapsible={processedTerminalContent.isLimited}
119119 hiddenLinesCount={processedTerminalContent.hiddenLinesCount}
120- className="mt-2"
121- collapsedContent={
122- <div className="mt-2">
123- <Ansi>{processedTerminalContent.limitedContent}</Ansi>
124- </div>
120+ className={
121+ processedTerminalContent.hiddenLinesCount === 0 ? "-mt-3" : "-mt-5"
125122 }
126- expandedContent={
127- <div className="mt-2">
128- <Ansi>{processedTerminalContent.fullContent}</Ansi>
129- </div>
123+ collapsedContent={
124+ <Ansi>{processedTerminalContent.limitedContent}</Ansi>
130125 }
126+ expandedContent={<Ansi>{processedTerminalContent.fullContent}</Ansi>}
131127 />
132128 )}
133129
@@ -142,7 +138,7 @@
142138 onClick={(e) => {
143139 e.preventDefault();
144140 // Dispatch the action to move the command to the background
145- dispatch(
141+ void dispatch(
146142 moveTerminalProcessToBackground({
147143 toolCallId: props.toolCallId as string,
148144 }),