Raxol.Terminal.Charset.Types (Raxol v0.5.0)

View Source

Defines types used across the charset modules.

Summary

Types

char_map()

@type char_map() :: %{required(non_neg_integer()) => String.t()}

charset()

@type charset() :: :us_ascii | :dec_supplementary | :dec_special | :dec_technical

g_set()

@type g_set() :: :g0 | :g1 | :g2 | :g3

t()

@type t() :: %Raxol.Terminal.Charset.Manager{
  charsets: %{required(charset()) => (-> char_map())},
  current_g_set: g_set(),
  g_sets: %{required(g_set()) => charset()},
  single_shift: g_set() | nil
}