fix: stabilize public pane and tab ids

refs #569
This commit is contained in:
Ogulcan Celik
2026-06-12 19:10:09 +03:00
parent 53429206b7
commit f7a7da03fc
33 changed files with 821 additions and 202 deletions
+1 -1
View File
@@ -7495,7 +7495,7 @@ next_tab = ""
let mut server = test_headless_server();
let background = crate::workspace::Workspace::test_new("background");
let pane_id = background.tabs[0].root_pane;
let public_pane_id = format!("{}-1", background.id);
let public_pane_id = format!("{}:p1", background.id);
let foreground = crate::workspace::Workspace::test_new("foreground");
server.app.state.workspaces = vec![background, foreground];
server.app.state.ensure_test_terminals();
+1
View File
@@ -124,6 +124,7 @@ mod tests {
events,
std::sync::Arc::new(tokio::sync::Notify::new()),
std::sync::Arc::new(std::sync::atomic::AtomicBool::new(false)),
None,
)
.unwrap();
let deadline = std::time::Instant::now() + std::time::Duration::from_secs(2);