Raxol.Plugins.Examples.TerminalMultiplexer.PaneManager (Raxol v2.6.0)

View Source

Pane operations for the TerminalMultiplexerPlugin.

Handles pane splitting, navigation, closing, and space redistribution.

Summary

Functions

Closes the active pane (or window if it's the last pane).

Creates a new Pane struct.

Cycles to the next pane in the window.

Selects the pane adjacent in the given direction.

Split the active pane horizontally (side by side).

Split the active pane vertically (top and bottom).

Toggles pane zoom.

Functions

close_pane(state)

Closes the active pane (or window if it's the last pane).

create_pane(shell)

Creates a new Pane struct.

next_pane(state)

Cycles to the next pane in the window.

select_pane(state, direction)

Selects the pane adjacent in the given direction.

split_horizontal(state)

Split the active pane horizontally (side by side).

split_vertical(state)

Split the active pane vertically (top and bottom).

zoom_pane(state)

Toggles pane zoom.