feat: move to and copy to

This commit is contained in:
Jason Rodney Hansen 2026-02-03 16:45:02 -07:00
parent 40f19b0d02
commit 7e44a0c3de
3 changed files with 116 additions and 4 deletions

View file

@ -205,6 +205,10 @@ pub fn context_menu<'a>(
children.push(menu_item(fl!("cut"), Action::Cut).into());
}
children.push(menu_item(fl!("copy"), Action::Copy).into());
if selected_mount_point == 0 {
children.push(menu_item(fl!("move-to"), Action::MoveTo).into());
}
children.push(menu_item(fl!("copy-to"), Action::CopyTo).into());
children.push(divider::horizontal::light().into());
let supported_archive_types = crate::archive::SUPPORTED_ARCHIVE_TYPES;