fix: improve quit confirmation UX with cancel option

- Add CANCEL option to QuitChoice enum
- Move cancel option to bottom of dialog (UI best practice)
- Fix escape key behavior to cancel instead of quit
- Update quit confirmation logic to handle cancellation
- Enable true two-step confirmation for Ctrl+C/Ctrl+D
This commit is contained in:
pomelo-nwu
2025-09-11 10:23:08 +08:00
parent 6750c78b4b
commit 8637813e2d
7 changed files with 242 additions and 5 deletions

View File

@@ -607,3 +607,11 @@ You can opt out of usage statistics collection at any time by setting the `usage
```
Note: When usage statistics are enabled, events are sent to an Alibaba Cloud RUM collection endpoint.
- **`enableWelcomeBack`** (boolean):
- **Description:** Show welcome back dialog when returning to a project with conversation history.
- **Default:** `true`
- **Category:** UI
- **Requires Restart:** No
- **Example:** `"enableWelcomeBack": false`
- **Details:** When enabled, Qwen Code will automatically detect if you're returning to a project with a previously generated project summary (`.qwen/PROJECT_SUMMARY.md`) and show a dialog allowing you to continue your previous conversation or start fresh. This feature integrates with the `/chat summary` command and quit confirmation dialog. See the [Welcome Back documentation](./welcome-back.md) for more details.