Raxol.Terminal.ANSI.SGRHandler (Raxol v0.3.0)

View Source

Handles 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

apply_sgr_params(params, current_style)

Applies a list of SGR parameters to the current style. Handles multi-parameter sequences like 38/48.