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

View Source

Command routing for the TerminalMultiplexerPlugin.

Handles prefix-key commands, command mode, and double-tap detection.

Summary

Functions

Activates prefix mode or sends literal prefix on double-tap.

Returns the help text string.

Handles a key press when command mode is active.

Handles a key press when prefix mode is active.

Routes input to the active pane.

Functions

activate_prefix(state)

Activates prefix mode or sends literal prefix on double-tap.

build_help_text()

Returns the help text string.

handle_command_mode(key, state)

Handles a key press when command mode is active.

handle_prefixed_command(key, state)

Handles a key press when prefix mode is active.

route_to_active_pane(state, message)

Routes input to the active pane.