Raxol.Terminal.TextFormatting (Raxol v0.4.0)

View Source

Alias module for Raxol.Terminal.ANSI.TextFormatting. This module re-exports the functionality from ANSI.TextFormatting to maintain compatibility.

Summary

Functions

ansi_code_to_color_name(code)

See Raxol.Terminal.ANSI.TextFormatting.ansi_code_to_color_name/1.

apply_attribute(style, attribute)

See Raxol.Terminal.ANSI.TextFormatting.apply_attribute/2.

apply_color(style, type, color)

See Raxol.Terminal.ANSI.TextFormatting.apply_color/3.

effective_width(style, char)

See Raxol.Terminal.ANSI.TextFormatting.effective_width/2.

get_background(style)

See Raxol.Terminal.ANSI.TextFormatting.get_background/1.

get_default_style()

See Raxol.Terminal.ANSI.TextFormatting.new/0.

get_foreground(style)

See Raxol.Terminal.ANSI.TextFormatting.get_foreground/1.

get_paired_line_type(style)

Gets the paired line type for double-height mode.

needs_paired_line?(style)

Checks if the current style needs a paired line for double-height mode.

new()

See Raxol.Terminal.ANSI.TextFormatting.new/0.

reset_size(style)

See Raxol.Terminal.ANSI.TextFormatting.reset_size/1.

set_background(style, color)

See Raxol.Terminal.ANSI.TextFormatting.set_background/2.

set_double_height_bottom(style)

See Raxol.Terminal.ANSI.TextFormatting.set_double_height_bottom/1.

set_double_height_top(style)

See Raxol.Terminal.ANSI.TextFormatting.set_double_height_top/1.

set_double_width(style)

See Raxol.Terminal.ANSI.TextFormatting.set_double_width/1.

set_foreground(style, color)

See Raxol.Terminal.ANSI.TextFormatting.set_foreground/2.