mirror of
https://github.com/sxyazi/yazi.git
synced 2026-07-21 23:01:05 +00:00
fix: stringify!(r#move) is "r#move" instead of "move" (#2973)
This commit is contained in:
parent
bc9dbd35e3
commit
18795320bb
1 changed files with 6 additions and 1 deletions
|
|
@ -10,9 +10,14 @@ impl Input {
|
|||
return self.$name(cmd);
|
||||
}
|
||||
};
|
||||
($name:ident, $alias:literal) => {
|
||||
if cmd.name == $alias {
|
||||
return self.$name(cmd);
|
||||
}
|
||||
};
|
||||
}
|
||||
|
||||
on!(r#move);
|
||||
on!(r#move, "move");
|
||||
on!(backward);
|
||||
on!(forward);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue