gemini-cli/packages/cli/src/ui
Daniel Lee daceb9963f
feat(cli): support ctrl+d to exit (#878)
Similar to ctrl+c, ctrl+d can now be used to exit the program. To avoid accidental exit, ctrl+d must be pressed twice in relatively quick succession (same as ctrl+c).

Following common UX pattern, ctrl+d will be ignored when the input prompt is non-empty. This behavior is similar to how most shell (bash/zsh) behaves. To support this, I had to refactor so that text buffer is initialized outside of the InputPrompt component and instead do it on the main App component to allow input controller to have access to check the content of the text buffer.
2025-06-13 16:59:09 +00:00
..
components feat(cli): support ctrl+d to exit (#878) 2025-06-13 16:59:09 +00:00
contexts feat: Add UI for /stats slash command (#883) 2025-06-10 15:59:52 -04:00
editors feat: External editor settings (#882) 2025-06-11 18:21:54 -07:00
hooks cleanup unused `allowBuildArtifacts` (#1010) 2025-06-13 12:00:38 -04:00
themes Allow themes to update gradient colors (#914) 2025-06-11 17:14:18 +00:00
utils Replace logo with custom ASCII (#958) 2025-06-13 07:59:45 +00:00
App.test.tsx Update contextFileName to support an optional list of strings (#1001) 2025-06-13 09:19:08 -07:00
App.tsx feat(cli): support ctrl+d to exit (#878) 2025-06-13 16:59:09 +00:00
colors.ts Allow themes to theme the UI (#769) 2025-06-05 14:35:47 -07:00
constants.ts Code review comment fixes and some refactors. (#525) 2025-05-24 00:44:17 -07:00
types.ts feat: Add exit UI w/ stats (#924) 2025-06-11 16:40:31 -04:00