mirror of
https://github.com/sxyazi/yazi.git
synced 2026-07-23 07:41:03 +00:00
10 lines
241 B
Rust
10 lines
241 B
Rust
use yazi_shared::event::CmdCow;
|
|
|
|
pub struct ForwardOpt {
|
|
pub far: bool,
|
|
pub end_of_word: bool,
|
|
}
|
|
|
|
impl From<CmdCow> for ForwardOpt {
|
|
fn from(c: CmdCow) -> Self { Self { far: c.bool("far"), end_of_word: c.bool("end-of-word") } }
|
|
}
|