fix: Ensure CWD and auto-accept indicator are always visible

- This commit addresses an issue where the Current Working Directory (CWD) and the auto-accept indicator were not consistently visible, especially when tool confirmations were displayed.
- Previously, the CWD could be hidden during tool confirmation prompts, potentially leading to confusion about the context in which Gemini CLI was operating.

Fixes https://b.corp.google.com/issues/414289185
This commit is contained in:
Taylor Mullen 2025-05-17 22:36:33 -07:00 committed by N. Taylor Mullen
parent aca27709df
commit 5bddf40fd1
1 changed files with 15 additions and 17 deletions

View File

@ -334,7 +334,6 @@ export const App = ({
showAutoAcceptIndicator ? <AutoAcceptIndicator /> : undefined showAutoAcceptIndicator ? <AutoAcceptIndicator /> : undefined
} }
/> />
{isInputActive && (
<Box <Box
marginTop={1} marginTop={1}
display="flex" display="flex"
@ -351,7 +350,6 @@ export const App = ({
</Box> </Box>
{showAutoAcceptIndicator && <AutoAcceptIndicator />} {showAutoAcceptIndicator && <AutoAcceptIndicator />}
</Box> </Box>
)}
{isInputActive && ( {isInputActive && (
<> <>
<InputPrompt <InputPrompt