diff options
| author | Deepankar Sharma <[email protected]> | 2025-08-13 13:32:54 -0400 |
|---|---|---|
| committer | GitHub <[email protected]> | 2025-08-13 17:32:54 +0000 |
| commit | 9c7fb870c1a7c80741fafdfc6837d4b92e373b2d (patch) | |
| tree | 1e31f201520c9724b4659ee7a36c21215e6280b9 /packages/cli/src/gemini.tsx | |
| parent | 74a13fb535b255797d6c9aa3499acfea6aadc58d (diff) | |
Add terminal setup command for Shift+Enter and Ctrl+Enter support (#3289)
Co-authored-by: jacob314 <[email protected]>
Diffstat (limited to 'packages/cli/src/gemini.tsx')
| -rw-r--r-- | packages/cli/src/gemini.tsx | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/packages/cli/src/gemini.tsx b/packages/cli/src/gemini.tsx index 68f948da..54e58f72 100644 --- a/packages/cli/src/gemini.tsx +++ b/packages/cli/src/gemini.tsx @@ -41,6 +41,7 @@ import { import { validateAuthMethod } from './config/auth.js'; import { setMaxSizedBoxDebugging } from './ui/components/shared/MaxSizedBox.js'; import { validateNonInteractiveAuth } from './validateNonInterActiveAuth.js'; +import { detectAndEnableKittyProtocol } from './ui/utils/kittyProtocolDetector.js'; import { checkForUpdates } from './ui/utils/updateCheck.js'; import { handleAutoUpdate } from './utils/handleAutoUpdate.js'; import { appEvents, AppEvent } from './utils/events.js'; @@ -263,6 +264,8 @@ export async function main() { // Render UI, passing necessary config values. Check that there is no command line question. if (config.isInteractive()) { const version = await getCliVersion(); + // Detect and enable Kitty keyboard protocol once at startup + await detectAndEnableKittyProtocol(); setWindowTitle(basename(workspaceRoot), settings); const instance = render( <React.StrictMode> |
