ui: fix logic regression for 'esc to cancel' hint

This commit is contained in:
Keith Guerin
2026-02-08 00:10:09 -08:00
parent 4a0963373c
commit 2d86f7760f

View File

@@ -74,7 +74,7 @@ export const Composer = ({ isFocused = true }: { isFocused?: boolean }) => {
const showRawMarkdownIndicator = !uiState.renderMarkdown;
const showEscToCancelHint =
isActivelyStreaming &&
!uiState.embeddedShellFocused &&
(!uiState.embeddedShellFocused || uiState.isBackgroundShellVisible) &&
!hasPendingActionRequired &&
uiState.streamingState !== StreamingState.WaitingForConfirmation;