summaryrefslogtreecommitdiffstats
path: root/zellij-server/src/panes
diff options
context:
space:
mode:
authorAram Drevekenin <aram@poor.dev>2023-06-19 18:09:08 +0200
committerGitHub <noreply@github.com>2023-06-19 18:09:08 +0200
commit1280cc8d73ee1e33b621589dc1e3e96efac80d1d (patch)
tree2157d22e9d968e863e214835c8882288495ecc32 /zellij-server/src/panes
parent0adb10573dd59a5c9f851592e4637f750001e999 (diff)
fix(plugins): swap layouts and invoked_with (#2564)
Diffstat (limited to 'zellij-server/src/panes')
-rw-r--r--zellij-server/src/panes/terminal_pane.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/zellij-server/src/panes/terminal_pane.rs b/zellij-server/src/panes/terminal_pane.rs
index a01d815b5..d522a400f 100644
--- a/zellij-server/src/panes/terminal_pane.rs
+++ b/zellij-server/src/panes/terminal_pane.rs
@@ -697,6 +697,7 @@ impl Pane for TerminalPane {
self.grid.is_alternate_mode_active()
}
fn hold(&mut self, exit_status: Option<i32>, is_first_run: bool, run_command: RunCommand) {
+ self.invoked_with = Some(Run::Command(run_command.clone()));
self.is_held = Some((exit_status, is_first_run, run_command));
if is_first_run {
self.render_first_run_banner();