Raxol.Terminal.Style.StyleProcessor (Raxol v2.0.1)
View SourceHandles style management for the terminal emulator. This module extracts the style handling logic from the main emulator.
Summary
Functions
Applies a single style attribute to the current style.
Gets the style update function for a given attribute and value.
Returns the mapping of style attributes to their corresponding update functions.
Updates the emulator style with the given style attributes.
Functions
@spec apply_style_attribute( {atom(), any()}, Raxol.Terminal.ANSI.TextFormatting.t() ) :: Raxol.Terminal.ANSI.TextFormatting.t()
Applies a single style attribute to the current style.
Gets the style update function for a given attribute and value.
@spec get_style_updates() :: map()
Returns the mapping of style attributes to their corresponding update functions.
Updates the emulator style with the given style attributes.