Function moras::modules::riscv::middleware::frontend_api::undo
source · pub fn undo(
cur_tab_name: State<'_, CurTabName>,
tab_map: State<'_, TabMap>,
) -> Optional
Expand description
Undoes the last instruction for current activate tab’s simulator.
cur_tab_name
: State containing the current tab name.tab_map
: State containing the map of all tabs.
Returns Optional
indicating whether the undo was successful.