mirror of
https://github.com/google-gemini/gemini-cli.git
synced 2026-05-12 12:54:07 -07:00
ui: fix logic regression for 'esc to cancel' hint
This commit is contained in:
@@ -74,7 +74,7 @@ export const Composer = ({ isFocused = true }: { isFocused?: boolean }) => {
|
|||||||
const showRawMarkdownIndicator = !uiState.renderMarkdown;
|
const showRawMarkdownIndicator = !uiState.renderMarkdown;
|
||||||
const showEscToCancelHint =
|
const showEscToCancelHint =
|
||||||
isActivelyStreaming &&
|
isActivelyStreaming &&
|
||||||
!uiState.embeddedShellFocused &&
|
(!uiState.embeddedShellFocused || uiState.isBackgroundShellVisible) &&
|
||||||
!hasPendingActionRequired &&
|
!hasPendingActionRequired &&
|
||||||
uiState.streamingState !== StreamingState.WaitingForConfirmation;
|
uiState.streamingState !== StreamingState.WaitingForConfirmation;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user