diff options
| author | Brooks Rady <b.j.rady@gmail.com> | 2025-03-10 16:21:10 +0000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-03-10 17:21:10 +0100 |
| commit | 4fd0bac675f910e8a7feb6664e64840dedcfa5bd (patch) | |
| tree | 05f320be4b22fd809001355f2537ff7443e637de /zellij-utils/src/input | |
| parent | docs(changelog): add 3 recent PRs (diff) | |
| download | sl0ppij-4fd0bac675f910e8a7feb6664e64840dedcfa5bd.tar.gz sl0ppij-4fd0bac675f910e8a7feb6664e64840dedcfa5bd.tar.xz sl0ppij-4fd0bac675f910e8a7feb6664e64840dedcfa5bd.zip | |
fix(stacked): stacked panes can't resize status-bar (#4051)
* fix(typo): fix a typo in error message
* fix(typo): fix typo in Tip #6
* fix(logging): silence filesystem error
This `Option` chain already ends with `.unwrap_or_else(Default::default)`
so it's clearly expected that prior operations in the chain may fail. I
didn't have the default `layout_dir` on my computer, and it would fill my
logfile with unhelpful spam — on every pane creation, resize, etc.
* fix(stacked): stacked panes can't resize status-bar
* fix(e2e): race in multiple users test
---------
Co-authored-by: Aram Drevekenin <aram@poor.dev>
Diffstat (limited to 'zellij-utils/src/input')
| -rw-r--r-- | zellij-utils/src/input/layout.rs | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/zellij-utils/src/input/layout.rs b/zellij-utils/src/input/layout.rs index 4738a23f..67124be1 100644 --- a/zellij-utils/src/input/layout.rs +++ b/zellij-utils/src/input/layout.rs @@ -1157,10 +1157,7 @@ impl Layout { .or_else(|| default_layout_dir()) .and_then(|layout_dir| match std::fs::read_dir(layout_dir) { Ok(layout_files) => Some(layout_files), - Err(e) => { - log::error!("Failed to read layout dir: {:?}", e); - None - }, + Err(_) => None, }) .map(|layout_files| { let mut available_layouts = vec![]; |
