File tree Expand file tree Collapse file tree 3 files changed +8
-1
lines changed
Expand file tree Collapse file tree 3 files changed +8
-1
lines changed Original file line number Diff line number Diff line change @@ -385,6 +385,7 @@ export const Chat = ({
385385 queuedCount,
386386 clearQueue,
387387 resumeQueue,
388+ inputHasText : Boolean ( inputValue ) ,
388389 baseHandleCtrlC,
389390 } )
390391
Original file line number Diff line number Diff line change @@ -97,6 +97,10 @@ export const StatusBar = ({
9797
9898 const statusIndicatorContent = renderStatusIndicator ( )
9999 const elapsedTimeContent = renderElapsedTime ( )
100+
101+ // Only show gray background when there's status indicator or timer content
102+ const hasContent = statusIndicatorContent || elapsedTimeContent
103+
100104 return (
101105 < box
102106 style = { {
@@ -106,7 +110,7 @@ export const StatusBar = ({
106110 paddingLeft : 1 ,
107111 paddingRight : 1 ,
108112 gap : 1 ,
109- backgroundColor : theme . surface ,
113+ backgroundColor : hasContent ? theme . surface : 'transparent' ,
110114 } }
111115 >
112116 < box
Original file line number Diff line number Diff line change @@ -5,6 +5,7 @@ interface UseQueueControlsParams {
55 queuedCount : number
66 clearQueue : ( ) => string [ ]
77 resumeQueue : ( ) => void
8+ inputHasText : boolean
89 baseHandleCtrlC : ( ) => true
910}
1011
@@ -13,6 +14,7 @@ export const useQueueControls = ({
1314 queuedCount,
1415 clearQueue,
1516 resumeQueue,
17+ inputHasText,
1618 baseHandleCtrlC,
1719} : UseQueueControlsParams ) => {
1820 const handleCtrlC = useCallback ( ( ) => {
You can’t perform that action at this time.
0 commit comments