mirror of
https://github.com/zellij-org/zellij.git
synced 2024-11-25 06:07:27 +03:00
style(fmt): rustfmt
This commit is contained in:
parent
29f67f6fc5
commit
87bdddf431
@ -542,7 +542,7 @@ impl Action {
|
|||||||
None
|
None
|
||||||
}
|
}
|
||||||
}) {
|
}) {
|
||||||
should_start_layout_commands_suspended = true;
|
should_start_layout_commands_suspended = true;
|
||||||
(
|
(
|
||||||
layout_url.to_owned(),
|
layout_url.to_owned(),
|
||||||
Layout::stringified_from_url(layout_url)
|
Layout::stringified_from_url(layout_url)
|
||||||
|
@ -1198,7 +1198,10 @@ impl Layout {
|
|||||||
None,
|
None,
|
||||||
);
|
);
|
||||||
if should_start_layout_commands_suspended {
|
if should_start_layout_commands_suspended {
|
||||||
layout.iter_mut().next().map(|l| l.recursively_add_start_suspended_including_template(Some(true)));
|
layout
|
||||||
|
.iter_mut()
|
||||||
|
.next()
|
||||||
|
.map(|l| l.recursively_add_start_suspended_including_template(Some(true)));
|
||||||
}
|
}
|
||||||
layout
|
layout
|
||||||
}
|
}
|
||||||
@ -1495,7 +1498,10 @@ impl Layout {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
pub fn recursively_add_start_suspended_including_template(&mut self, start_suspended: Option<bool>) {
|
pub fn recursively_add_start_suspended_including_template(
|
||||||
|
&mut self,
|
||||||
|
start_suspended: Option<bool>,
|
||||||
|
) {
|
||||||
if let Some((tiled_panes_template, floating_panes_template)) = self.template.as_mut() {
|
if let Some((tiled_panes_template, floating_panes_template)) = self.template.as_mut() {
|
||||||
tiled_panes_template.recursively_add_start_suspended(start_suspended);
|
tiled_panes_template.recursively_add_start_suspended(start_suspended);
|
||||||
for floating_pane in floating_panes_template.iter_mut() {
|
for floating_pane in floating_panes_template.iter_mut() {
|
||||||
|
Loading…
Reference in New Issue
Block a user