aboutsummaryrefslogtreecommitdiffstats
path: root/default-plugins/sequence
diff options
context:
space:
mode:
authorAram Drevekenin <aram@poor.dev>2026-01-20 17:11:26 +0100
committerGitHub <noreply@github.com>2026-01-20 17:11:26 +0100
commit432c6d749121bc2d8fa3361b59c5d14cbd82a0e0 (patch)
treeca8f61fa7ed151681d5f3220bdf91a100139306c /default-plugins/sequence
parentAllow toggling pane frames for specific panes (#4615) (diff)
downloadsl0ppij-432c6d749121bc2d8fa3361b59c5d14cbd82a0e0.tar.gz
sl0ppij-432c6d749121bc2d8fa3361b59c5d14cbd82a0e0.tar.xz
sl0ppij-432c6d749121bc2d8fa3361b59c5d14cbd82a0e0.zip
Fix tiled new pane borderless (#4618)
* allow opening tiled pane as borderless * rustfmt * add pr * fix e2e tests
Diffstat (limited to 'default-plugins/sequence')
-rw-r--r--default-plugins/sequence/src/main.rs11
-rw-r--r--default-plugins/sequence/src/state/execution.rs1
2 files changed, 10 insertions, 2 deletions
diff --git a/default-plugins/sequence/src/main.rs b/default-plugins/sequence/src/main.rs
index 4631caa2..0bfbfddc 100644
--- a/default-plugins/sequence/src/main.rs
+++ b/default-plugins/sequence/src/main.rs
@@ -599,7 +599,10 @@ pub fn handle_action_complete(
};
// Determine placement based on layout mode
- let placement = NewPanePlacement::Stacked(pane_id);
+ let placement = NewPanePlacement::Stacked {
+ pane_id_to_stack_under: pane_id,
+ borderless: Some(false),
+ };
// Update status: mark current command as completed
// Use the pane_id from ActionComplete if the status is still Pending
@@ -1016,6 +1019,7 @@ fn rerun_sequence(state: &mut State) {
NewPanePlacement::InPlace {
pane_id_to_replace: Some(*pane_id),
close_replaced_pane,
+ borderless: Some(false),
}
} else {
let pane_id_to_stack_under = state
@@ -1023,7 +1027,10 @@ fn rerun_sequence(state: &mut State) {
.all_commands
.iter()
.find_map(|c| c.get_pane_id());
- NewPanePlacement::Stacked(pane_id_to_stack_under)
+ NewPanePlacement::Stacked {
+ pane_id_to_stack_under,
+ borderless: Some(false),
+ }
};
// Determine unblock_condition based on whether this is the last command
diff --git a/default-plugins/sequence/src/state/execution.rs b/default-plugins/sequence/src/state/execution.rs
index ff630ec0..fb194f61 100644
--- a/default-plugins/sequence/src/state/execution.rs
+++ b/default-plugins/sequence/src/state/execution.rs
@@ -239,6 +239,7 @@ impl Execution {
let placement = NewPanePlacement::InPlace {
pane_id_to_replace: primary_pane_id,
close_replaced_pane: false,
+ borderless: Some(false),
};
let action = Action::NewBlockingPane {