Raxol.Plugins.Manager.Cells (Raxol v0.5.0)

View Source

Handles cell processing functionality. Provides functions for processing and transforming cells through plugins.

Summary

Functions

Collects cell-related commands from all enabled plugins. Returns {:ok, updated_manager, commands}.

Allows plugins to process or replace cells generated by the renderer. Delegates processing to Raxol.Plugins.CellProcessor.

Processes a single cell through all enabled plugins. Returns {:ok, updated_manager, processed_cell} or {:error, reason}.

Functions

collect_cell_commands(manager)

Collects cell-related commands from all enabled plugins. Returns {:ok, updated_manager, commands}.

handle_cells(manager, cells, emulator_state)

Allows plugins to process or replace cells generated by the renderer. Delegates processing to Raxol.Plugins.CellProcessor.

Returns {:ok, updated_manager, processed_cells, collected_commands}.

process_cell(manager, cell, emulator_state)

Processes a single cell through all enabled plugins. Returns {:ok, updated_manager, processed_cell} or {:error, reason}.