We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 15e8304 commit 7950ae1Copy full SHA for 7950ae1
packages/tui/internal/components/chat/message.go
@@ -219,7 +219,7 @@ func renderText(
219
switch casted := message.(type) {
220
case opencode.AssistantMessage:
221
ts = time.UnixMilli(int64(casted.Time.Created))
222
- content = util.ToMarkdown(text, width+2, t.Background())
+ content = util.ToMarkdown(text, width, t.Background())
223
case opencode.UserMessage:
224
225
base := styles.NewStyle().Foreground(t.Text()).Background(backgroundColor)
@@ -302,7 +302,7 @@ func renderText(
302
return renderContentBlock(
303
app,
304
content,
305
- width+2,
+ width,
306
WithNoBorder(),
307
WithBackgroundColor(t.Background()),
308
)
0 commit comments