mirror of
https://github.com/openai/codex.git
synced 2026-05-03 12:52:11 +03:00
01 dynamic mount commands
This commit is contained in:
@@ -413,6 +413,18 @@ impl ChatWidget<'_> {
|
||||
self.bottom_pane.update_status_text(line);
|
||||
}
|
||||
|
||||
/// Launch interactive mount-add dialog.
|
||||
pub fn push_mount_add_interactive(&mut self) {
|
||||
self.bottom_pane.push_mount_add_interactive();
|
||||
self.request_redraw();
|
||||
}
|
||||
|
||||
/// Launch interactive mount-remove dialog.
|
||||
pub fn push_mount_remove_interactive(&mut self) {
|
||||
self.bottom_pane.push_mount_remove_interactive();
|
||||
self.request_redraw();
|
||||
}
|
||||
|
||||
fn request_redraw(&mut self) {
|
||||
self.app_event_tx.send(AppEvent::Redraw);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user