fix: take up less vertical space
This commit is contained in:
@@ -375,7 +375,6 @@ func renderText(
|
|||||||
info = author + timestamp
|
info = author + timestamp
|
||||||
}
|
}
|
||||||
if !showToolDetails && toolCalls != nil && len(toolCalls) > 0 {
|
if !showToolDetails && toolCalls != nil && len(toolCalls) > 0 {
|
||||||
content = content + "\n"
|
|
||||||
for _, toolCall := range toolCalls {
|
for _, toolCall := range toolCalls {
|
||||||
title := renderToolTitle(toolCall, width-2)
|
title := renderToolTitle(toolCall, width-2)
|
||||||
style := styles.NewStyle()
|
style := styles.NewStyle()
|
||||||
@@ -390,9 +389,9 @@ func renderText(
|
|||||||
|
|
||||||
sections := []string{content}
|
sections := []string{content}
|
||||||
if extra != "" {
|
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")
|
content = strings.Join(sections, "\n")
|
||||||
|
|
||||||
switch message.(type) {
|
switch message.(type) {
|
||||||
|
|||||||
Reference in New Issue
Block a user