Skip to main content

put_pane_back

Function put_pane_back 

Source
async fn put_pane_back(state: &AppState, __arg1: (&str, &str), undo: Undo)
Expand description

Undo a move_pane that failed: each moved block goes back to its place in src (the earliest place first, so each lands where it was), then, when the layouts were reached, both layouts are set back as they were. Best effort: the caller is already returning the error that started it, and tells the windows what is left (pin_updates).