yazi/yazi-core/src/tab/commands/select_all.rs

15 lines
270 B
Rust

use yazi_shared::event::CmdCow;
use crate::tab::Tab;
struct Opt;
impl From<CmdCow> for Opt {
fn from(_: CmdCow) -> Self { Self }
}
impl Tab {
// TODO: remove this in Yazi 0.4.1
#[yazi_codegen::command]
pub fn select_all(&mut self, _: Opt) { self.select(()); }
}