Raxol.Terminal.Commands.DCSHandlers (Raxol v0.4.0)
View SourceHandles the execution logic for specific DCS commands.
Functions are called by Raxol.Terminal.Commands.Executor
after initial parsing.
- Implements DCS handlers for DECRQSS (Request Status String), Sixel Graphics, and stubs DECDLD (Downloadable Character Set).
- DECRQSS supports status queries for SGR ("m"), scroll region ("r"), cursor style (" q"), and page length ("t").
- Sixel graphics are parsed and blitted to the screen buffer.
- DECDLD is stubbed and logs a warning; not yet implemented.
Summary
Functions
Dispatches DCS command execution based on intermediates and final byte.
Functions
@spec handle_dcs( Raxol.Terminal.Emulator.t(), [integer() | nil], String.t(), non_neg_integer(), String.t() ) :: {:ok, Raxol.Terminal.Emulator.t()} | {:error, atom(), Raxol.Terminal.Emulator.t()}
Dispatches DCS command execution based on intermediates and final byte.