aboutsummaryrefslogtreecommitdiffstats
path: root/src/commands.rs
diff options
context:
space:
mode:
authorAram Drevekenin <aram@poor.dev>2024-07-18 10:45:42 +0200
committerGitHub <noreply@github.com>2024-07-18 10:45:42 +0200
commit2deffc3289ff05a1429366cfa7cf7195ec27034f (patch)
tree5e8af968db1c5bb966bfe25b484c001378ab9351 /src/commands.rs
parentdocs(changelog): configuration screen (diff)
downloadsl0ppij-2deffc3289ff05a1429366cfa7cf7195ec27034f.tar.gz
sl0ppij-2deffc3289ff05a1429366cfa7cf7195ec27034f.tar.xz
sl0ppij-2deffc3289ff05a1429366cfa7cf7195ec27034f.zip
feat(plugins): add stringified layout to switch_session_with_layout (#3503)
Diffstat (limited to 'src/commands.rs')
-rw-r--r--src/commands.rs4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/commands.rs b/src/commands.rs
index 796e34e7..01fa1fe0 100644
--- a/src/commands.rs
+++ b/src/commands.rs
@@ -445,6 +445,10 @@ pub(crate) fn start_client(opts: CliArgs) {
config_without_layout.clone(),
),
LayoutInfo::Url(url) => Layout::from_url(&url, config_without_layout.clone()),
+ LayoutInfo::Stringified(stringified_layout) => Layout::from_stringified_layout(
+ &stringified_layout,
+ config_without_layout.clone(),
+ ),
};
match new_session_layout {
Ok(new_session_layout) => {