mirror of
https://github.com/openai/codex.git
synced 2026-04-29 02:41:12 +03:00
Add /compact command to Rust CLI
This commit is contained in:
@@ -277,6 +277,11 @@ impl<'a> App<'a> {
|
||||
widget.add_diff_output(text);
|
||||
}
|
||||
}
|
||||
SlashCommand::Compact => {
|
||||
if let AppState::Chat { widget } = &mut self.app_state {
|
||||
widget.compact().await;
|
||||
}
|
||||
}
|
||||
},
|
||||
AppEvent::StartFileSearch(query) => {
|
||||
self.file_search.on_user_query(query);
|
||||
|
||||
Reference in New Issue
Block a user