aboutsummaryrefslogtreecommitdiffstats
path: root/zellij-utils/src/plugin_api
diff options
context:
space:
mode:
authorAram Drevekenin <aram@poor.dev>2024-10-08 16:57:54 +0200
committerGitHub <noreply@github.com>2024-10-08 16:57:54 +0200
commit203fbf7a491d1abc3cd9e05c1e39858af8395032 (patch)
tree94c48ef5063b4b40d8ba5741320b8edd4c143955 /zellij-utils/src/plugin_api
parentdocs(changelog): http fix (diff)
downloadsl0ppij-203fbf7a491d1abc3cd9e05c1e39858af8395032.tar.gz
sl0ppij-203fbf7a491d1abc3cd9e05c1e39858af8395032.tar.xz
sl0ppij-203fbf7a491d1abc3cd9e05c1e39858af8395032.zip
feat(cli): make --layout idempotent(-ish) (#3650)
* feat(cli): if inside a session, apply --layout to the session * fix(screen): some focusing races when switching tab focus * style(fmt): rustfmt
Diffstat (limited to 'zellij-utils/src/plugin_api')
-rw-r--r--zellij-utils/src/plugin_api/action.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/zellij-utils/src/plugin_api/action.rs b/zellij-utils/src/plugin_api/action.rs
index d61ddcb8..9bb8ac7a 100644
--- a/zellij-utils/src/plugin_api/action.rs
+++ b/zellij-utils/src/plugin_api/action.rs
@@ -313,7 +313,7 @@ impl TryFrom<ProtobufAction> for Action {
Some(_) => Err("NewTab should not have a payload"),
None => {
// we do not serialize the layouts of this action
- Ok(Action::NewTab(None, vec![], None, None, None))
+ Ok(Action::NewTab(None, vec![], None, None, None, true))
},
}
},