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

View Source

Provides operations for managing character sets and their state.

Summary

Functions

Applies a single shift to the current character.

Designates a character set for a specific G-set.

Gets the current G-set.

Gets the designated charset for a G-set.

Gets the current single shift.

Handles setting the charset based on parameters and final byte.

Invokes a G-set as the current character set.

Functions

apply_single_shift(state, g_set)

Applies a single shift to the current character.

designate_charset(state, g_set, charset)

Designates a character set for a specific G-set.

get_current_g_set(state)

Gets the current G-set.

get_designated_charset(state, g_set)

Gets the designated charset for a G-set.

get_single_shift(state)

Gets the current single shift.

handle_set_charset(emulator, params_buffer, final_byte)

Handles setting the charset based on parameters and final byte.

invoke_g_set(state, g_set)

Invokes a G-set as the current character set.