yazi/yazi-core/src/input/commands/redo.rs
2023-11-28 02:21:36 +08:00

13 lines
228 B
Rust

use yazi_shared::event::Exec;
use crate::input::Input;
pub struct Opt;
impl From<&Exec> for Opt {
fn from(_: &Exec) -> Self { Self }
}
impl Input {
pub fn redo(&mut self, _: impl Into<Opt>) -> bool { self.snaps.redo() }
}