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

View Source

Window operations for the TerminalMultiplexerPlugin.

Handles window creation, navigation, and session management.

Summary

Functions

Creates a new window and adds it to the active session.

Creates a new Session struct.

Creates a new Window struct with a single pane.

Detaches from the current session.

Switches to the next window in the active session.

Switches to the previous window in the active session.

Shows the session list overlay.

Shows the window list overlay.

Switches to the window at the given index.

Functions

create_new_window(state)

Creates a new window and adds it to the active session.

create_session(name)

Creates a new Session struct.

create_window(name, shell)

Creates a new Window struct with a single pane.

detach_session(state)

Detaches from the current session.

next_window(state)

Switches to the next window in the active session.

previous_window(state)

Switches to the previous window in the active session.

show_sessions(state)

Shows the session list overlay.

show_windows(state)

Shows the window list overlay.

switch_to_window(state, index)

Switches to the window at the given index.