mirror of
https://github.com/openai/codex.git
synced 2026-05-02 04:11:39 +03:00
fix: pending messages in /agent (#13240)
This commit is contained in:
@@ -579,6 +579,10 @@ impl BottomPane {
|
||||
self.composer.current_text_with_pending()
|
||||
}
|
||||
|
||||
pub(crate) fn composer_pending_pastes(&self) -> Vec<(String, String)> {
|
||||
self.composer.pending_pastes()
|
||||
}
|
||||
|
||||
pub(crate) fn apply_external_edit(&mut self, text: String) {
|
||||
self.composer.apply_external_edit(text);
|
||||
self.request_redraw();
|
||||
@@ -604,6 +608,11 @@ impl BottomPane {
|
||||
urls
|
||||
}
|
||||
|
||||
pub(crate) fn set_composer_pending_pastes(&mut self, pending_pastes: Vec<(String, String)>) {
|
||||
self.composer.set_pending_pastes(pending_pastes);
|
||||
self.request_redraw();
|
||||
}
|
||||
|
||||
/// Update the status indicator header (defaults to "Working") and details below it.
|
||||
///
|
||||
/// Passing `None` clears any existing details. No-ops if the status indicator is not active.
|
||||
|
||||
Reference in New Issue
Block a user