feat: /prompts slash command (#1937)

- Shows several example prompts which include @-mentions 

------
https://chatgpt.com/codex/tasks/task_i_6894779ba8cc832ca0c871d17ee06aae
This commit is contained in:
ae
2025-08-07 03:55:59 -07:00
committed by GitHub
parent 1e4bf81653
commit 7c20160676
4 changed files with 33 additions and 0 deletions

View File

@@ -360,6 +360,11 @@ impl App<'_> {
widget.add_status_output();
}
}
SlashCommand::Prompts => {
if let AppState::Chat { widget } = &mut self.app_state {
widget.add_prompts_output();
}
}
#[cfg(debug_assertions)]
SlashCommand::TestApproval => {
use std::collections::HashMap;