Raxol.Terminal.ANSI.ExtendedSequences (Raxol v0.5.0)
View SourceHandles extended ANSI sequences and provides improved integration with the screen buffer. This module adds support for:
- Extended SGR attributes (90-97, 100-107)
- True color support (24-bit RGB)
- Unicode handling
- Terminal state management
- Improved cursor control
Summary
Functions
Processes extended SGR (Select Graphic Rendition) parameters. Supports
Processes terminal state changes.
Processes true color sequences (24-bit RGB).
Handles Unicode character sequences.
Types
@type attribute() ::
:bold
| :faint
| :italic
| :underline
| :blink
| :rapid_blink
| :inverse
| :conceal
| :strikethrough
| :normal_intensity
| :no_italic
| :no_underline
| :no_blink
| :no_inverse
| :no_conceal
| :no_strikethrough
| :foreground
| :background
| :foreground_basic
| :background_basic
@type color() :: {0..255, 0..255, 0..255} | 0..255
Functions
@spec process_extended_sgr([String.t()], Raxol.Terminal.ScreenBuffer.t()) :: Raxol.Terminal.ScreenBuffer.t()
Processes extended SGR (Select Graphic Rendition) parameters. Supports:
- Extended colors (90-97, 100-107)
- True color (24-bit RGB)
- Additional attributes
@spec process_terminal_state(String.t(), Raxol.Terminal.ScreenBuffer.t()) :: Raxol.Terminal.ScreenBuffer.t()
Processes terminal state changes.
@spec process_true_color(String.t(), String.t(), Raxol.Terminal.ScreenBuffer.t()) :: Raxol.Terminal.ScreenBuffer.t()
Processes true color sequences (24-bit RGB).
@spec process_unicode(String.t(), Raxol.Terminal.ScreenBuffer.t()) :: Raxol.Terminal.ScreenBuffer.t()
Handles Unicode character sequences.