zellij-org/zellij · error

Don't know how to perform resize operation: '{strategy}'

Error message

Don't know how to perform resize operation: '{strategy}'

What it means

Error "Don't know how to perform resize operation: '{strategy}'" thrown in zellij-org/zellij.

Source

Thrown at zellij-server/src/panes/tiled_panes/tiled_pane_grid.rs:380

                [*pane_id]
                    .iter()
                    .chain(&some_terminals)
                    .chain(&other_terminals)
                    .for_each(|pane| self.reduce_pane_width(pane, change_by));
                neighbor_terminals
                    .iter()
                    .for_each(|pane| self.increase_pane_width(pane, change_by));
            } else if strategy.resize_decrease() && direction.is_vertical() {
                [*pane_id]
                    .iter()
                    .chain(&some_terminals)
                    .chain(&other_terminals)
                    .for_each(|pane| self.reduce_pane_height(pane, change_by));
                neighbor_terminals
                    .iter()
                    .for_each(|pane| self.increase_pane_height(pane, change_by));
            } else {
                return Err(anyhow!(
                    "Don't know how to perform resize operation: '{strategy}'"
                ))
                .with_context(err_context);
            }

            // Update grid
            let mut pane_resizer = PaneResizer::new(self.panes.clone());
            if direction.is_horizontal() {
                pane_resizer
                    .layout(SplitDirection::Horizontal, self.display_area.cols)
                    .with_context(err_context)?;
            } else {
                pane_resizer
                    .layout(SplitDirection::Vertical, self.display_area.rows)
                    .with_context(err_context)?;
            }
        } else {
            // Get panes aligned at corners, so we can change their sizes manually afterwards

View on GitHub (pinned to 98a0837077)

When it happens

Trigger: Thrown at zellij-server/src/panes/tiled_panes/tiled_pane_grid.rs:380 when the library encounters an invalid state.

Common situations: See trigger scenarios.


AI-assisted analysis of zellij-org/zellij@98a0837077 (2026-08-16). Data as JSON: /api/errors/ee49f9375f3b84f9. Report an issue: GitHub.