qwen-code/packages/cli/src
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
..
config Update contextFileName to support an optional list of strings (#1001) 2025-06-13 09:19:08 -07:00
ui feat(cli): support ctrl+d to exit (#878) 2025-06-13 16:59:09 +00:00
utils Support GOOGLE_API_KEY hoisting in sandbox too (#998) 2025-06-13 08:32:15 +00:00
gemini.test.tsx Exit with an error message if parsing settings.json fails. (#747) 2025-06-06 09:56:45 -07:00
gemini.tsx Handle telemetry in non-interactive mode (#1002) 2025-06-13 03:44:17 -04:00
nonInteractiveCli.test.ts refactor(telemetry): pass config object to telemetry functions 2025-06-11 13:24:41 -04:00
nonInteractiveCli.ts Handle telemetry in non-interactive mode (#1002) 2025-06-13 03:44:17 -04:00