Raxol.Terminal.Commands.ModeHandlers (Raxol v0.3.0)

View Source

Handles mode setting and resetting related CSI commands.

This module contains handlers for setting and resetting terminal modes, both standard ANSI modes and DEC private modes. Each function takes the current emulator state and parsed parameters, returning the updated emulator state.

Summary

Functions

Handles Set Mode (SM - h) or Reset Mode (RM - l).

Functions

handle_h_or_l(emulator, params, intermediates_buffer, final_byte)

Handles Set Mode (SM - h) or Reset Mode (RM - l).

Dispatches to ModeManager to handle both standard ANSI modes and DEC private modes (prefixed with ?).