mirror of
https://github.com/openai/codex.git
synced 2026-05-02 04:11:39 +03:00
update
This commit is contained in:
@@ -802,6 +802,13 @@ impl BottomPane {
|
||||
true
|
||||
}
|
||||
|
||||
pub(crate) fn selected_index_for_active_view(&self, view_id: &'static str) -> Option<usize> {
|
||||
self.view_stack
|
||||
.last()
|
||||
.filter(|view| view.view_id() == Some(view_id))
|
||||
.and_then(|view| view.selected_index())
|
||||
}
|
||||
|
||||
/// Update the pending-input preview shown above the composer.
|
||||
pub(crate) fn set_pending_input_preview(
|
||||
&mut self,
|
||||
|
||||
Reference in New Issue
Block a user