@@ -120,10 +120,9 @@ impl ChatView {
120120 let mut lines: Vec < Line < ' _ > > = Vec :: new ( ) ;
121121
122122 for msg in & self . messages {
123- // Two blank lines between messages for visual breathing room .
123+ // Single blank line between messages.
124124 if !lines. is_empty ( ) {
125125 lines. push ( Line :: raw ( "" ) ) ;
126- lines. push ( Line :: raw ( "" ) ) ;
127126 }
128127
129128 // Role label.
@@ -135,9 +134,8 @@ impl ChatView {
135134 Span :: raw( " " ) ,
136135 Span :: styled( label, style) ,
137136 ] ) ) ;
138- lines. push ( Line :: raw ( "" ) ) ;
139137
140- // Content lines.
138+ // Content lines (immediately after label, no blank line) .
141139 for line in msg. content . lines ( ) {
142140 lines. push ( Line :: from ( vec ! [
143141 Span :: raw( " " ) ,
@@ -150,13 +148,11 @@ impl ChatView {
150148 if !self . streaming_buffer . is_empty ( ) {
151149 if !lines. is_empty ( ) {
152150 lines. push ( Line :: raw ( "" ) ) ;
153- lines. push ( Line :: raw ( "" ) ) ;
154151 }
155152 lines. push ( Line :: from ( vec ! [
156153 Span :: raw( " " ) ,
157154 Span :: styled( "⟡ Assistant" , self . theme. secondary( ) ) ,
158155 ] ) ) ;
159- lines. push ( Line :: raw ( "" ) ) ;
160156 for line in self . streaming_buffer . lines ( ) {
161157 lines. push ( Line :: from ( vec ! [
162158 Span :: raw( " " ) ,
0 commit comments