Raxol.Terminal.ANSI.SGRHandler (Raxol v0.3.0)
View SourceHandles parsing of SGR (Select Graphic Rendition) ANSI escape sequences. Translates SGR codes into updates on a TextFormatting style map.
Summary
Functions
Applies a list of SGR parameters to the current style. Handles multi-parameter sequences like 38/48.
Functions
@spec apply_sgr_params( [integer() | tuple()], Raxol.Terminal.ANSI.TextFormatting.text_style() ) :: Raxol.Terminal.ANSI.TextFormatting.text_style()
Applies a list of SGR parameters to the current style. Handles multi-parameter sequences like 38/48.