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

@@ -556,6 +556,10 @@ impl ChatWidget<'_> {
));
}
pub(crate) fn add_prompts_output(&mut self) {
self.add_to_history(HistoryCell::new_prompts_output());
}
/// Forward file-search results to the bottom pane.
pub(crate) fn apply_file_search_result(&mut self, query: String, matches: Vec<FileMatch>) {
self.bottom_pane.on_file_search_result(query, matches);