01 dynamic mount commands

This commit is contained in:
Rai (Michael Pokorny)
2025-06-24 14:30:34 -07:00
parent 2f0109faeb
commit b23d44cb5c
9 changed files with 386 additions and 13 deletions

View File

@@ -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);
}