Raxol.Terminal.Commands.DeviceHandlers (Raxol v0.3.0)
View SourceHandles device status and attribute related CSI commands.
This module contains handlers for device status reports (DSR) and device attributes (DA). Each function takes the current emulator state and parsed parameters, returning the updated emulator state.
Summary
Functions
Handles Device Status Report (CPR - '6n') (stub).
Handles Device Attributes (DA - 'c')
Handles Device Status Report (DSR - 'n')
Functions
@spec handle_6n(Raxol.Terminal.Emulator.t(), [integer()]) :: Raxol.Terminal.Emulator.t()
Handles Device Status Report (CPR - '6n') (stub).
@spec handle_c(Raxol.Terminal.Emulator.t(), [integer()], String.t()) :: Raxol.Terminal.Emulator.t()
Handles Device Attributes (DA - 'c')
@spec handle_n(Raxol.Terminal.Emulator.t(), [integer()]) :: Raxol.Terminal.Emulator.t()
Handles Device Status Report (DSR - 'n')