mirror of
https://github.com/QwenLM/qwen-code.git
synced 2026-04-30 20:50:34 +00:00
remove /quit-confirm slash command
This commit is contained in:
parent
6729980b47
commit
5b2f3e285c
17 changed files with 12 additions and 233 deletions
|
|
@ -44,11 +44,6 @@ export interface DialogCloseOptions {
|
|||
// Welcome back dialog
|
||||
showWelcomeBackDialog: boolean;
|
||||
handleWelcomeBackClose: () => void;
|
||||
|
||||
// Quit confirmation dialog
|
||||
quitConfirmationRequest: {
|
||||
onConfirm: (shouldQuit: boolean, action?: string) => void;
|
||||
} | null;
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
@ -96,9 +91,6 @@ export function useDialogClose(options: DialogCloseOptions) {
|
|||
return true;
|
||||
}
|
||||
|
||||
// Note: quitConfirmationRequest is NOT handled here anymore
|
||||
// It's handled specially in handleExit - ctrl+c in quit-confirm should exit immediately
|
||||
|
||||
// No dialog was open
|
||||
return false;
|
||||
}, [options]);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue