Raxol.Terminal.FormattingManager (Raxol v0.5.0)
View SourceManages the terminal text formatting.
Summary
Functions
Checks if the given attribute is set in the style.
Gets the background color from the style.
Gets the foreground color from the style.
Gets the set attributes from the style.
Gets the current style.
Resets all attributes in the style.
Resets the given attribute in the style.
Sets the given attribute in the style.
Sets the background color in the style.
Sets the foreground color in the style.
Updates the style.
Types
@type t() :: %Raxol.Terminal.FormattingManager{style: map()}
Functions
Checks if the given attribute is set in the style.
Gets the background color from the style.
Gets the foreground color from the style.
Gets the set attributes from the style.
Gets the current style.
Resets all attributes in the style.
Resets the given attribute in the style.
Sets the given attribute in the style.
Sets the background color in the style.
Sets the foreground color in the style.
Updates the style.