Raxol.Terminal.ANSI.CharacterSets.StateManager (Raxol v0.5.0)
View SourceManages character set state and operations.
Summary
Functions
Converts a character set code to an atom.
Clears the single shift character set.
Gets the active character set.
Gets the active GR character set.
Gets the active G-set character set.
Gets the charset state from the emulator state.
Gets the GL (left) character set.
Gets the GR (right) character set.
Gets a G-set character set.
Gets the mode manager from the emulator state.
Gets the single shift character set.
Converts a G-set index to an atom.
Creates a new character set state with default values.
Sets the active character set.
Sets the GL (left) character set.
Sets the GR (right) character set.
Sets a G-set character set.
Sets the single shift character set.
Updates the charset state in the emulator state.
Updates the mode manager in the emulator state.
Validates a character set state. Returns :ok if valid, or {:error, reason} if invalid.
Types
@type charset() ::
:us_ascii
| :dec_special_graphics
| :uk
| :us
| :finnish
| :french
| :french_canadian
| :german
| :italian
| :norwegian_danish
| :portuguese
| :spanish
| :swedish
| :swiss
Functions
Converts a character set code to an atom.
Clears the single shift character set.
Gets the active character set.
Gets the active GR character set.
Gets the active G-set character set.
Gets the charset state from the emulator state.
Gets the GL (left) character set.
Gets the GR (right) character set.
Gets a G-set character set.
Gets the mode manager from the emulator state.
Gets the single shift character set.
Converts a G-set index to an atom.
Creates a new character set state with default values.
Sets the active character set.
Sets the GL (left) character set.
Sets the GR (right) character set.
Sets a G-set character set.
Sets the single shift character set.
Updates the charset state in the emulator state.
Updates the mode manager in the emulator state.
Validates a character set state. Returns :ok if valid, or {:error, reason} if invalid.