refactor(cli): keyboard handling and AskUserDialog (#17414)

This commit is contained in:
Jacob Richman
2026-01-27 14:26:00 -08:00
committed by GitHub
parent 3103697ea7
commit b51323b40c
46 changed files with 1220 additions and 385 deletions
@@ -31,7 +31,9 @@ export const CloudFreePrivacyNotice = ({
key.name === 'escape'
) {
onExit();
return true;
}
return false;
},
{ isActive: true },
);
@@ -19,7 +19,9 @@ export const CloudPaidPrivacyNotice = ({
(key) => {
if (key.name === 'escape') {
onExit();
return true;
}
return false;
},
{ isActive: true },
);
@@ -17,7 +17,9 @@ export const GeminiPrivacyNotice = ({ onExit }: GeminiPrivacyNoticeProps) => {
(key) => {
if (key.name === 'escape') {
onExit();
return true;
}
return false;
},
{ isActive: true },
);