Raxol.Terminal.Commands.CSIHandlers.Device (Raxol v0.5.0)

View Source

Handlers for device-related CSI commands.

Summary

Functions

Handle Device Attributes (DA) command. Responds with terminal capabilities.

Handle Restore Cursor (DECRC) command. Restores cursor position and attributes.

Handle Save Cursor (DECSC) command. Saves cursor position and attributes.

Handle Device Status Report (DSR) command. Responds with cursor position or device status.

Handle Window Manipulation (XTWINOPS) command. Handles window size and state changes.

Functions

handle_command(emulator, params, intermediates_buffer, byte)

handle_da(emulator, params, intermediates_buffer)

Handle Device Attributes (DA) command. Responds with terminal capabilities.

handle_decrc(emulator, params)

Handle Restore Cursor (DECRC) command. Restores cursor position and attributes.

handle_decsc(emulator, params)

Handle Save Cursor (DECSC) command. Saves cursor position and attributes.

handle_dsr(emulator, params)

Handle Device Status Report (DSR) command. Responds with cursor position or device status.

handle_xtwinops(emulator, params)

Handle Window Manipulation (XTWINOPS) command. Handles window size and state changes.