diff --git a/zellij-server/src/screen.rs b/zellij-server/src/screen.rs index f0ed78d6c..a1e1407e5 100644 --- a/zellij-server/src/screen.rs +++ b/zellij-server/src/screen.rs @@ -2836,7 +2836,8 @@ pub(crate) fn screen_thread_main( let all_tabs = screen.get_tabs_mut(); for tab in all_tabs.values_mut() { if tab.has_pane_with_pid(&pane_id_to_replace) { - tab.replace_pane_with_editor_pane(pid, pane_id_to_replace).non_fatal(); + tab.replace_pane_with_editor_pane(pid, pane_id_to_replace) + .non_fatal(); found = true; break; } diff --git a/zellij-server/src/tab/mod.rs b/zellij-server/src/tab/mod.rs index 42618ca42..ceea04323 100644 --- a/zellij-server/src/tab/mod.rs +++ b/zellij-server/src/tab/mod.rs @@ -1297,7 +1297,8 @@ impl Tab { self.os_api, self.senders, self.character_cell_size - ).non_fatal(); + ) + .non_fatal(); self.insert_scrollback_editor_replaced_pane(replaced_pane, pid); }, None => { @@ -4096,7 +4097,8 @@ impl Tab { match self.suppressed_panes.remove(&pane_id) { Some(pane) => { self.show_floating_panes(); - self.add_floating_pane(pane.1, pane_id, None, None).non_fatal(); + self.add_floating_pane(pane.1, pane_id, None, None) + .non_fatal(); self.floating_panes.focus_pane_for_all_clients(pane_id); }, None => { diff --git a/zellij-utils/src/input/config.rs b/zellij-utils/src/input/config.rs index bc2cf6b00..0e7547d84 100644 --- a/zellij-utils/src/input/config.rs +++ b/zellij-utils/src/input/config.rs @@ -10,7 +10,7 @@ use thiserror::Error; use std::convert::TryFrom; use super::keybinds::Keybinds; -use super::layout::{RunPluginOrAlias}; +use super::layout::RunPluginOrAlias; use super::options::Options; use super::plugins::{PluginAliases, PluginsConfigError}; use super::theme::{Themes, UiConfig}; diff --git a/zellij-utils/src/session_serialization.rs b/zellij-utils/src/session_serialization.rs index bf3900e0b..68a9c2dae 100644 --- a/zellij-utils/src/session_serialization.rs +++ b/zellij-utils/src/session_serialization.rs @@ -5,9 +5,8 @@ use std::path::PathBuf; use crate::{ input::layout::PluginUserConfiguration, input::layout::{ - FloatingPaneLayout, Layout, LayoutConstraint, PercentOrFixed, Run, - RunPluginOrAlias, SplitDirection, SplitSize, SwapFloatingLayout, SwapTiledLayout, - TiledPaneLayout, + FloatingPaneLayout, Layout, LayoutConstraint, PercentOrFixed, Run, RunPluginOrAlias, + SplitDirection, SplitSize, SwapFloatingLayout, SwapTiledLayout, TiledPaneLayout, }, pane_size::{Constraint, PaneGeom}, };