async fn close_pane(state: &AppState, req: &UiRunCommandRequest) -> ResponseExpand description
RunCommand pane:close: the pane named by target, closed the way
ClosePane closes it (app_api::pane::close_pane_as): it waits 30 s for
its user to keep it, and the answer says so. The key itself closes the
focused pane at once, with no undo, so the page never runs it for MuxAPI.