We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 18041f9 commit d23555aCopy full SHA for d23555a
1 file changed
crates/oxide-code/src/tui/components/chat.rs
@@ -136,7 +136,7 @@ impl ChatView {
136
]));
137
138
// Content lines (immediately after label, no blank line).
139
- for line in msg.content.lines() {
+ for line in msg.content.trim().lines() {
140
lines.push(Line::from(vec![
141
Span::raw(" "),
142
Span::styled(line, self.theme.text()),
@@ -153,7 +153,7 @@ impl ChatView {
153
154
Span::styled("⟡ Assistant", self.theme.secondary()),
155
156
- for line in self.streaming_buffer.lines() {
+ for line in self.streaming_buffer.trim().lines() {
157
158
159
0 commit comments