diff --git a/docs/control-protocol.md b/docs/control-protocol.md index 0a425eba..89d319f7 100644 --- a/docs/control-protocol.md +++ b/docs/control-protocol.md @@ -82,9 +82,11 @@ preserved for the entire session, including after later layout changes. Load and appear in the status message and the nullable `workspaceStorageError` field; a failed write remains eligible for retry. `window.saveWorkspace`, `window.saveWorkspaceAs` and `window.editWorkspaces` (rename, delete) -write the file immediately and return an error when it isn't written (a failed write, a file -preserved after a failed load, or no configuration store). The changed workspaces still apply -for the session, and a later save retries them. +write the file immediately. Through `ui.menu.invoke` they return an error when it isn't written +(a failed write, a file preserved after a failed load, or no configuration store); +`engine.execute` hands them to the UI and returns `{frontend}` first, so check +`workspaceStorageError` there. The changed workspaces still apply for the session, and a later +save retries them. ## Input