aboutsummaryrefslogtreecommitdiff
path: root/src/app/mod.rs
diff options
context:
space:
mode:
authorOgulcan Celik <ogulcancelik@gmail.com>2026-06-30 20:29:57 +0300
committerOgulcan Celik <ogulcancelik@gmail.com>2026-06-30 20:29:57 +0300
commit0bab01573a781abda0ddf08046e7e4ce4568d696 (patch)
treee3be41d834fab62d71cc8fa5b0f13f30260922e4 /src/app/mod.rs
parent9a91a2ac41a5b2fbc2811922750a782b45115219 (diff)
refactor: route headless workspace tab mutations through runtime dispatch
Diffstat (limited to 'src/app/mod.rs')
-rw-r--r--src/app/mod.rs6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/app/mod.rs b/src/app/mod.rs
index 04de4c84..713e0b02 100644
--- a/src/app/mod.rs
+++ b/src/app/mod.rs
@@ -887,7 +887,7 @@ impl App {
if self.state.request_new_workspace {
self.state.request_new_workspace = false;
- self.dispatch_tui_runtime_mutation(
+ self.dispatch_runtime_mutation(
"tui.workspace.create",
crate::api::schema::Method::WorkspaceCreate(
crate::api::schema::WorkspaceCreateParams {
@@ -904,7 +904,7 @@ impl App {
if self.state.request_new_tab {
self.state.request_new_tab = false;
let label = self.state.requested_new_tab_name.take();
- self.dispatch_tui_runtime_mutation(
+ self.dispatch_runtime_mutation(
"tui.tab.create",
crate::api::schema::Method::TabCreate(crate::api::schema::TabCreateParams {
workspace_id: None,
@@ -928,7 +928,7 @@ impl App {
}
if let Some(cwd) = self.state.request_new_workspace_cwd.take() {
- self.dispatch_tui_runtime_mutation(
+ self.dispatch_runtime_mutation(
"tui.workspace.create_cwd",
crate::api::schema::Method::WorkspaceCreate(
crate::api::schema::WorkspaceCreateParams {