Raxol.Terminal.ANSIFacade (Raxol v0.2.0)

View Source

DEPRECATED: Provides a simplified facade for interacting with ANSI escape sequences.

This module is being replaced by the more structured modules within Raxol.Terminal.ANSI.* (Parser, Processor, Emitter, Sequences, etc.).

Functions are kept temporarily for backward compatibility but primarily log warnings.

Summary

Functions

Parses ANSI escape sequences from a string.

Functions

new()

parse(input)

Parses ANSI escape sequences from a string.

This method delegates to the ANSI.Parser module for the actual parsing.

Parameters

  • input - The string containing ANSI escape sequences

Returns

A list of parsed tokens.

Migration Path

Update your code to use the Parser module directly:

# Before
tokens = Raxol.Terminal.ANSI.parse(input)

# After
tokens = Raxol.Terminal.ANSI.Parser.parse(input)

process_escape(byte_sequence, emulator)