mirror of
https://github.com/google-gemini/gemini-cli.git
synced 2026-03-15 00:21:09 -07:00
Fix ctrl-c/esc while Authenticating. (#7879)
This commit is contained in:
committed by
GitHub
parent
13d39ef746
commit
127d9205b8
@@ -903,7 +903,6 @@ Logging in with Google... Please restart Gemini CLI to continue.
|
||||
isEditorDialogOpen ||
|
||||
isSettingsDialogOpen ||
|
||||
isFolderTrustDialogOpen ||
|
||||
isAuthenticating ||
|
||||
showPrivacyNotice;
|
||||
if (anyDialogOpen) {
|
||||
return;
|
||||
@@ -932,9 +931,6 @@ Logging in with Google... Please restart Gemini CLI to continue.
|
||||
) {
|
||||
handleSlashCommand('/ide status');
|
||||
} else if (keyMatchers[Command.QUIT](key)) {
|
||||
if (isAuthenticating) {
|
||||
return;
|
||||
}
|
||||
if (!ctrlCPressedOnce) {
|
||||
cancelOngoingRequest?.();
|
||||
}
|
||||
@@ -968,7 +964,6 @@ Logging in with Google... Please restart Gemini CLI to continue.
|
||||
setCtrlDPressedOnce,
|
||||
ctrlDTimerRef,
|
||||
handleSlashCommand,
|
||||
isAuthenticating,
|
||||
cancelOngoingRequest,
|
||||
isThemeDialogOpen,
|
||||
isAuthDialogOpen,
|
||||
|
||||
@@ -137,7 +137,7 @@ export const DialogManager = () => {
|
||||
return (
|
||||
<AuthInProgress
|
||||
onTimeout={() => {
|
||||
/* This is now handled in AppContainer */
|
||||
uiActions.onAuthError('Authentication cancelled.');
|
||||
}}
|
||||
/>
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user