Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.
project panel: Allow confirming prompt with keyboard (#11346)
Bennet Bo Fenner36055505cdd5
diff --git a/crates/project_panel/src/project_panel.rs b/crates/project_panel/src/project_panel.rsindex 2c289f6b3d2..2bd15192afc 100644--- a/crates/project_panel/src/project_panel.rs+++ b/crates/project_panel/src/project_panel.rs@@ -907,7 +907,7 @@ impl ProjectPanel {let operation = if trash { "Trash" } else { "Delete" };let answer = (!skip_prompt).then(|| {cx.prompt(- PromptLevel::Destructive,+ PromptLevel::Info,&format!("{operation} {file_name:?}?",),None,&[operation, "Cancel"],