@@ -322,6 +322,10 @@ func renderLogEntryImpl(entry LogEntry, maxWidth int, verbose bool) []string {
322322 Foreground(lipgloss.Color("213")). // Lighter purple for reasoning text
323323 Background(logBgColor)
324324
325+ dimmedStyle := lipgloss.NewStyle().
326+ Foreground(lipgloss.Color("240")). // Dim gray for truncation indicator
327+ Background(logBgColor)
328+
325329 reasoningHeader := "REASONING:"
326330 reasoningHeaderWidth := len(reasoningHeader) + 1 // +1 for space after
327331 reasoningContentWidth := maxWidth - reasoningHeaderWidth - padLeft - padRight
@@ -332,7 +336,30 @@ func renderLogEntryImpl(entry LogEntry, maxWidth int, verbose bool) []string {
332336 // Wrap reasoning text
333337 wrappedReasoning := wrapText(entry.Reasoning, reasoningContentWidth)
334338
335- for i, line := range wrappedReasoning {
339+ // Smart truncation: show first line, "[x more]", last 2 lines if verbose is false and > 3 lines
340+ const reasoningTruncateThreshold = 3
341+ const reasoningShowLast = 2
342+ shouldTruncate := !verbose && len(wrappedReasoning) > reasoningTruncateThreshold
343+
344+ var linesToShow []int
345+ if shouldTruncate {
346+ // First line
347+ linesToShow = append(linesToShow, 0)
348+ // Last 2 lines
349+ for i := len(wrappedReasoning) - reasoningShowLast; i < len(wrappedReasoning); i++ {
350+ linesToShow = append(linesToShow, i)
351+ }
352+ } else {
353+ // Show all lines
354+ for i := 0; i < len(wrappedReasoning); i++ {
355+ linesToShow = append(linesToShow, i)
356+ }
357+ }
358+
359+ truncatedCount := len(wrappedReasoning) - len(linesToShow)
360+
361+ for idx, i := range linesToShow {
362+ line := wrappedReasoning[i]
336363 lineLen := lipgloss.Width(line)
337364 remainingWidth := reasoningContentWidth - lineLen
338365 if remainingWidth < 0 {
@@ -340,6 +367,23 @@ func renderLogEntryImpl(entry LogEntry, maxWidth int, verbose bool) []string {
340367 }
341368 paddedLine := line + strings.Repeat(" ", remainingWidth+padRight)
342369
370+ // Insert truncation indicator after first line
371+ if shouldTruncate && idx == 1 {
372+ truncMsg := fmt.Sprintf("[%d more]", truncatedCount)
373+ truncMsgLen := lipgloss.Width(truncMsg)
374+ truncRemainingWidth := reasoningContentWidth - truncMsgLen
375+ if truncRemainingWidth < 0 {
376+ truncRemainingWidth = 0
377+ }
378+ truncPaddedLine := truncMsg + strings.Repeat(" ", truncRemainingWidth+padRight)
379+
380+ leftPad := contentStyle.Render(strings.Repeat(" ", padLeft))
381+ indent := strings.Repeat(" ", reasoningHeaderWidth)
382+ styledIndent := contentStyle.Render(indent)
383+ styledTrunc := dimmedStyle.Render(truncPaddedLine)
384+ result = append(result, leftPad+styledIndent+styledTrunc)
385+ }
386+
343387 if i == 0 {
344388 // First line: left pad + styled header + space + content
345389 leftPad := contentStyle.Render(strings.Repeat(" ", padLeft))