Raxol.Terminal.CharsetManager (Raxol v2.0.1)
View SourceManages the terminal character sets.
Summary
Functions
Applies a single shift to the state.
Clears the single shift after processing one character.
Designates a charset for the given g-set.
Gets the current g-set.
Gets the designated charset for the given g-set.
Gets the current single shift.
Gets the current state.
Invokes the given g-set.
Resets the state to its initial values.
Updates the state.
Types
Functions
Applies a single shift to the state.
Single shift temporarily invokes G2 or G3 for the next character only. Valid shifts are :g2 (SS2) and :g3 (SS3).
Clears the single shift after processing one character.
This should be called after processing a character when a single shift is active.
Designates a charset for the given g-set.
Gets the current g-set.
Gets the designated charset for the given g-set.
Gets the current single shift.
Returns the currently active single shift (:g2 or :g3), or nil if no single shift is active.
Gets the current state.
Invokes the given g-set.
Resets the state to its initial values.
Updates the state.