qwen-code/packages/cli/src/ui/components
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
..
__snapshots__ bug: only show tool tokens if > 0 (#985) 2025-06-12 19:31:17 +00:00
messages remove enable editor flag (#984) 2025-06-12 17:28:20 +00:00
shared feat: External editor settings (#882) 2025-06-11 18:21:54 -07:00
AboutBox.tsx Allow themes to theme the UI (#769) 2025-06-05 14:35:47 -07:00
AsciiArt.ts Replace logo with custom ASCII (#958) 2025-06-13 07:59:45 +00:00
AutoAcceptIndicator.tsx refactor: rename gemini-code to gemini-cli (#822) 2025-06-07 14:27:22 -07:00
ConsolePatcher.tsx Make console message support more robust to logging in the middle of rendering. (#521) 2025-05-23 22:51:47 -07:00
ConsoleSummaryDisplay.tsx Allow themes to theme the UI (#769) 2025-06-05 14:35:47 -07:00
ContextSummaryDisplay.tsx Update contextFileName to support an optional list of strings (#1001) 2025-06-13 09:19:08 -07:00
DetailedMessagesDisplay.tsx Allow themes to theme the UI (#769) 2025-06-05 14:35:47 -07:00
EditorSettingsDialog.tsx feat: External editor settings (#882) 2025-06-11 18:21:54 -07:00
Footer.tsx rename sandbox-exec as MacOS Seatbelt in footer (#921) 2025-06-10 18:35:00 -07:00
GeminiRespondingSpinner.tsx Cleanup: Remove low value StreamingContextType interface. (#585) 2025-05-28 12:46:08 -07:00
Header.tsx Replace logo with custom ASCII (#958) 2025-06-13 07:59:45 +00:00
Help.tsx Allow themes to theme the UI (#769) 2025-06-05 14:35:47 -07:00
HistoryItemDisplay.test.tsx feat: Add exit UI w/ stats (#924) 2025-06-11 16:40:31 -04:00
HistoryItemDisplay.tsx feat: External editor settings (#882) 2025-06-11 18:21:54 -07:00
InputPrompt.tsx feat(cli): support ctrl+d to exit (#878) 2025-06-13 16:59:09 +00:00
LoadingIndicator.test.tsx Cleanup: Remove low value StreamingContextType interface. (#585) 2025-05-28 12:46:08 -07:00
LoadingIndicator.tsx Allow themes to theme the UI (#769) 2025-06-05 14:35:47 -07:00
MemoryUsageDisplay.tsx Allow themes to theme the UI (#769) 2025-06-05 14:35:47 -07:00
SessionSummaryDisplay.test.tsx feat: Add exit UI w/ stats (#924) 2025-06-11 16:40:31 -04:00
SessionSummaryDisplay.tsx feat: Add exit UI w/ stats (#924) 2025-06-11 16:40:31 -04:00
ShellModeIndicator.tsx Allow themes to theme the UI (#769) 2025-06-05 14:35:47 -07:00
Stats.test.tsx bug: only show tool tokens if > 0 (#985) 2025-06-12 19:31:17 +00:00
Stats.tsx bug: only show tool tokens if > 0 (#985) 2025-06-12 19:31:17 +00:00
StatsDisplay.test.tsx feat: Add UI for /stats slash command (#883) 2025-06-10 15:59:52 -04:00
StatsDisplay.tsx feat: Add exit UI w/ stats (#924) 2025-06-11 16:40:31 -04:00
SuggestionsDisplay.tsx Allow themes to theme the UI (#769) 2025-06-05 14:35:47 -07:00
ThemeDialog.tsx Allow themes to theme the UI (#769) 2025-06-05 14:35:47 -07:00
Tips.tsx refactor: rename gemini-code to gemini-cli (#822) 2025-06-07 14:27:22 -07:00