File tree Expand file tree Collapse file tree 2 files changed +4
-0
lines changed
webview-ui/src/components Expand file tree Collapse file tree 2 files changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -1174,6 +1174,7 @@ export const ChatRowContent = ({
11741174 language = "json"
11751175 isExpanded = { true }
11761176 onToggleExpand = { onToggleExpand }
1177+ forceWrap = { true }
11771178 />
11781179 </ div >
11791180 ) }
Original file line number Diff line number Diff line change @@ -14,6 +14,7 @@ interface CodeAccordianProps {
1414 onToggleExpand : ( ) => void
1515 isLoading ?: boolean
1616 progressStatus ?: ToolProgressStatus
17+ forceWrap ?: boolean
1718}
1819
1920/*
@@ -38,6 +39,7 @@ const CodeAccordian = ({
3839 onToggleExpand,
3940 isLoading,
4041 progressStatus,
42+ forceWrap,
4143} : CodeAccordianProps ) => {
4244 const inferredLanguage = useMemo (
4345 ( ) => code && ( language ?? ( path ? getLanguageFromPath ( path ) : undefined ) ) ,
@@ -126,6 +128,7 @@ const CodeAccordian = ({
126128 diff ??
127129 ""
128130 ) . trim ( ) } \n${ "```" } `}
131+ forceWrap = { forceWrap }
129132 />
130133 </ div >
131134 ) }
You can’t perform that action at this time.
0 commit comments