diff --git a/packages/cli/src/ui/components/Composer.test.tsx b/packages/cli/src/ui/components/Composer.test.tsx
index 21701191e7..3ecc9ba8c5 100644
--- a/packages/cli/src/ui/components/Composer.test.tsx
+++ b/packages/cli/src/ui/components/Composer.test.tsx
@@ -563,7 +563,7 @@ describe('Composer', () => {
const output = lastFrame();
expect(output).toContain('ToastDisplay');
expect(output).not.toContain('ApprovalModeIndicator');
- expect(output).toContain('StatusDisplay');
+ expect(output).not.toContain('StatusDisplay');
});
it('shows ToastDisplay for other toast types', async () => {
diff --git a/packages/cli/src/ui/components/Composer.tsx b/packages/cli/src/ui/components/Composer.tsx
index 739aa88ad2..174746d314 100644
--- a/packages/cli/src/ui/components/Composer.tsx
+++ b/packages/cli/src/ui/components/Composer.tsx
@@ -526,28 +526,20 @@ export const Composer = ({ isFocused = true }: { isFocused?: boolean }) => {
{showShortcutsHelp && }
{showUiDetails && (
-
- {hasToast ? (
-
- ) : (
+ {hasToast ? (
+
+ ) : (
+ <>
{showApprovalIndicator && (
{
{!showLoadingIndicator && (
<>
{uiState.shellModeActive && (
-
+
)}
{showRawMarkdownIndicator && (
-
+
)}
>
)}
- )}
-
-
-
- {!showLoadingIndicator && (
-
- )}
-
+ {!showLoadingIndicator && (
+ <>
+
+ ·
+
+
+ >
+ )}
+ >
+ )}
)}
diff --git a/packages/cli/src/ui/components/ContextSummaryDisplay.tsx b/packages/cli/src/ui/components/ContextSummaryDisplay.tsx
index f3c4a31839..696793bc06 100644
--- a/packages/cli/src/ui/components/ContextSummaryDisplay.tsx
+++ b/packages/cli/src/ui/components/ContextSummaryDisplay.tsx
@@ -40,7 +40,7 @@ export const ContextSummaryDisplay: React.FC = ({
skillCount === 0 &&
backgroundProcessCount === 0
) {
- return ; // Render an empty space to reserve height
+ return null;
}
const openFilesText = (() => {
diff --git a/packages/cli/src/ui/components/__snapshots__/Composer.test.tsx.snap b/packages/cli/src/ui/components/__snapshots__/Composer.test.tsx.snap
index d4adf77ba6..0bffdf3d3e 100644
--- a/packages/cli/src/ui/components/__snapshots__/Composer.test.tsx.snap
+++ b/packages/cli/src/ui/components/__snapshots__/Composer.test.tsx.snap
@@ -2,7 +2,7 @@
exports[`Composer > Snapshots > matches snapshot in idle state 1`] = `
" ShortcutsHint
- ApprovalModeIndicator StatusDisplay
+ ApprovalModeIndicator ·StatusDisplay
InputPrompt: Type your message or @path/to/file
Footer
"
@@ -23,8 +23,7 @@ InputPrompt: Type your message or @path/to/file
exports[`Composer > Snapshots > matches snapshot in narrow view 1`] = `
"
ShortcutsHint
- ApprovalModeIndicator
-StatusDisplay
+ ApprovalModeIndicator ·StatusDisplay
InputPrompt: Type your message or
@path/to/file
Footer