Skip to main content

invoke_undo

Function invoke_undo 

Source
pub fn invoke_undo(redo: bool) -> bool
Expand description

Invoke the installed undo bridge (the same handler a native front reaches: ⌘Z, the Edit menu, a three-finger swipe), returning whether one is installed. The dayscript undo:/redo: steps drive history through this, so a walkthrough needs no app-provided undo button on any target.