mirror of
https://github.com/anomalyco/opencode.git
synced 2026-05-20 01:12:15 +00:00
fix: take up less vertical space
This commit is contained in:
parent
22023fa9e7
commit
4ff64c6209
1 changed files with 2 additions and 3 deletions
|
|
@ -375,7 +375,6 @@ func renderText(
|
|||
info = author + timestamp
|
||||
}
|
||||
if !showToolDetails && toolCalls != nil && len(toolCalls) > 0 {
|
||||
content = content + "\n"
|
||||
for _, toolCall := range toolCalls {
|
||||
title := renderToolTitle(toolCall, width-2)
|
||||
style := styles.NewStyle()
|
||||
|
|
@ -390,9 +389,9 @@ func renderText(
|
|||
|
||||
sections := []string{content}
|
||||
if extra != "" {
|
||||
sections = append(sections, "\n"+extra)
|
||||
sections = append(sections, "\n"+extra+"\n")
|
||||
}
|
||||
sections = append(sections, "\n"+info)
|
||||
sections = append(sections, info)
|
||||
content = strings.Join(sections, "\n")
|
||||
|
||||
switch message.(type) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue