@@ -75,9 +75,12 @@ export async function renderTurn(
7575 reasoningBlankLineRun = 0;
7676 }
7777
78+ if (inReasoning) {
79+ return ` ${c.dim(c.italic(source))}`;
80+ }
7881 const rendered = renderLine(source, inFence);
7982 inFence = rendered.inFence;
80- return inReasoning ? `${c.dim("│ ")}${rendered.output}` : rendered.output;
83+ return rendered.output;
8184 }
8285
8386 const emojiLikeRegex = /\p{Extended_Pictographic}/u;
@@ -253,6 +256,7 @@ export async function renderTurn(
253256 writeln();
254257 inText = false;
255258 inReasoning = false;
259+ inFence = false; // reasoning is never markdown; reset fence state at boundary
256260 reasoningBlankLineRun = 0;
257261 styledPrefix = "";
258262 resetLineState();
@@ -363,11 +367,10 @@ export async function renderTurn(
363367 spinner.stop();
364368 writeln(`${G.info} ${c.dim("reasoning")}`);
365369 inReasoning = true;
366- // streamPrefix is written by streamPartialLine before the first
367- // chars of each line to show the "│ " gutter in the raw preview.
368- // styledPrefix is empty because renderSingleLine already includes
369- // "│ " in its output for reasoning lines.
370- streamPrefix = c.dim("│ ");
370+ inFence = false; // reasoning is never markdown; reset fence state at boundary
371+ // streamPrefix provides the 2-space indent for the raw partial
372+ // preview; renderSingleLine applies the same indent for completed lines.
373+ streamPrefix = " ";
371374 styledPrefix = "";
372375 streamPrefixWritten = false;
373376 }