fix: stringify!(r#move) is "r#move" instead of "move"

This commit is contained in:
sxyazi 2025-07-10 10:31:07 +08:00
parent bc9dbd35e3
commit b27e3ef923
No known key found for this signature in database

View file

@ -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);