File tree Expand file tree Collapse file tree 2 files changed +25
-7
lines changed Expand file tree Collapse file tree 2 files changed +25
-7
lines changed Original file line number Diff line number Diff line change @@ -244,18 +244,34 @@ export const AgentBranchItem = ({
244244 { prompt && (
245245 < box
246246 style = { {
247- flexDirection : 'column ' ,
247+ flexDirection : 'row ' ,
248248 gap : 0 ,
249+ alignItems : 'stretch' ,
249250 marginBottom : content ? 1 : 0 ,
250251 } }
251252 >
252- < text
253- fg = { theme . foreground }
254- style = { { wrapMode : 'word' } }
255- attributes = { getAttributes ( TextAttributes . ITALIC ) }
253+ < box
254+ style = { {
255+ width : 1 ,
256+ backgroundColor : theme . userLine ,
257+ marginTop : 0 ,
258+ marginBottom : 0 ,
259+ } }
260+ />
261+ < box
262+ style = { {
263+ paddingLeft : 1 ,
264+ flexGrow : 1 ,
265+ } }
256266 >
257- { prompt }
258- </ text >
267+ < text
268+ fg = { theme . foreground }
269+ style = { { wrapMode : 'word' } }
270+ attributes = { getAttributes ( TextAttributes . ITALIC ) }
271+ >
272+ { prompt }
273+ </ text >
274+ </ box >
259275 </ box >
260276 ) }
261277 { renderExpandedContent ( content ) }
Original file line number Diff line number Diff line change @@ -526,6 +526,7 @@ export const MessageBlock = memo(
526526 < text
527527 key = { `message-content-${ messageId } ` }
528528 style = { { wrapMode : 'word' , fg : resolvedTextColor } }
529+ attributes = { isUser ? TextAttributes . ITALIC : undefined }
529530 >
530531 { displayContent }
531532 </ text >
@@ -566,6 +567,7 @@ export const MessageBlock = memo(
566567 marginTop,
567568 marginBottom,
568569 } }
570+ attributes = { isUser ? TextAttributes . ITALIC : undefined }
569571 >
570572 { renderedContent }
571573 </ text >
You can’t perform that action at this time.
0 commit comments