Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions src/backend/cli.rs
Original file line number Diff line number Diff line change
Expand Up @@ -64,8 +64,8 @@ pub(crate) fn pane_run_args(pane_id: &str, command: &str) -> Vec<String> {

pub(crate) fn wait_output_args(pane_id: &str, wait: &WaitFor) -> Vec<String> {
let mut args = vec![
"wait".to_string(),
"output".to_string(),
"pane".to_string(),
"wait-output".to_string(),
pane_id.to_string(),
"--match".to_string(),
wait.pattern.clone(),
Expand Down Expand Up @@ -532,8 +532,8 @@ mod tests {
assert_eq!(
args,
vec![
"wait",
"output",
"pane",
"wait-output",
"wA:p2",
"--match",
"Compiling",
Expand Down
2 changes: 1 addition & 1 deletion tests/cli_backend_integration.rs
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ fn should_thread_ids_and_apply_focus_via_create_flags_across_two_workspaces_agai
"pane run wA:p1 nvim",
"pane split wA:p1 --direction down --ratio 0.3 --no-focus",
"pane run wA:p3 cargo watch -x test",
"wait output wA:p3 --match Compiling --timeout 10000",
"pane wait-output wA:p3 --match Compiling --timeout 10000",
"tab create --workspace wA --label server --no-focus",
"pane run wA:p2 cargo run",
"workspace create --label demo2 --focus",
Expand Down