mirror of
https://github.com/zellij-org/zellij.git
synced 2024-11-22 04:33:22 +03:00
style(fmt): rustfmt
This commit is contained in:
parent
4e4df6ddee
commit
9091bc87be
@ -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;
|
||||
}
|
||||
|
@ -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 => {
|
||||
|
@ -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};
|
||||
|
@ -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},
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user