File tree Expand file tree Collapse file tree
packages/opencode/src/cli/cmd/tui Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -786,7 +786,9 @@ function Bash(props: ToolProps) {
786786 onClick = { overflow ( ) ? ( ) => setExpanded ( ( prev ) => ! prev ) : undefined }
787787 >
788788 < box gap = { 0 } >
789- < text fg = { theme . text } > $ { command ( ) } </ text >
789+ < text fg = { theme . text } wrapMode = "char" width = "100%" >
790+ $ { command ( ) }
791+ </ text >
790792 < Show when = { output ( ) } >
791793 < text fg = { theme . text } > { limited ( ) } </ text >
792794 </ Show >
Original file line number Diff line number Diff line change @@ -3262,7 +3262,9 @@ function Shell(props: ToolProps<typeof ShellTool>) {
32623262 < Match when = { isRunning ( ) } >
32633263 < BlockTool title = { title ( ) } part = { props . part } spinner = { true } spinnerInterval = { 180 } >
32643264 < box gap = { 0 } >
3265- < text fg = { theme . text } > $ { clip ( props . input . command ?? "" ) } </ text >
3265+ < text fg = { theme . text } wrapMode = "char" width = "100%" >
3266+ $ { props . input . command ?? "" }
3267+ </ text >
32663268 < code
32673269 conceal = { false }
32683270 fg = { output ( ) ? theme . text : theme . textMuted }
@@ -3284,7 +3286,9 @@ function Shell(props: ToolProps<typeof ShellTool>) {
32843286 onClick = { overflow ( ) ? ( ) => setExpanded ( ( prev ) => ! prev ) : undefined }
32853287 >
32863288 < box gap = { 0 } >
3287- < text fg = { theme . text } > $ { props . input . command } </ text >
3289+ < text fg = { theme . text } wrapMode = "char" width = "100%" >
3290+ $ { props . input . command }
3291+ </ text >
32883292 < Show when = { output ( ) } >
32893293 < text fg = { theme . text } > { limited ( ) } </ text >
32903294 </ Show >
You can’t perform that action at this time.
0 commit comments