Skip to main content

decode_macro

Function decode_macro 

Source
pub fn decode_macro(s: &str) -> Vec<Input>
Expand description

Reverse of [encode_macro] — parse the textual form back into Input events for replay. Unknown <…> tags are dropped silently so the caller can roundtrip text the user pasted into a register without erroring out on partial matches.