The open source coding agent.
TypeScript
fix: text selection bug (#1664)
Aiden Cline7950ae14626a
diff --git a/packages/tui/internal/components/chat/message.go b/packages/tui/internal/components/chat/message.goindex e471e74fc39..0a1982718a4 100644--- a/packages/tui/internal/components/chat/message.go+++ b/packages/tui/internal/components/chat/message.go@@ -219,7 +219,7 @@ func renderText(switch casted := message.(type) {case opencode.AssistantMessage:ts = time.UnixMilli(int64(casted.Time.Created))- content = util.ToMarkdown(text, width+2, t.Background())+ content = util.ToMarkdown(text, width, t.Background())case opencode.UserMessage:ts = time.UnixMilli(int64(casted.Time.Created))base := styles.NewStyle().Foreground(t.Text()).Background(backgroundColor)@@ -302,7 +302,7 @@ func renderText(return renderContentBlock(app,content,- width+2,+ width,WithNoBorder(),WithBackgroundColor(t.Background()),)