Handles state management for the terminal emulator. Provides functions for managing terminal state, modes, and character sets.
Summary
Functions
Gets the current character set state. Returns the current charset state.
Gets the current state from the state stack. Returns the current state or nil if stack is empty.
Gets the current hyperlink URL. Returns the current hyperlink URL or nil.
Gets the current memory limit. Returns the memory limit.
Gets the value of a terminal mode. Returns the mode value or nil if not set.
Gets the current tab stops. Returns the current tab stops.
Pops a state from the state stack. Returns {:ok, updated_emulator} or {:error, reason}.
Pushes a new state onto the state stack. Returns {:ok, updated_emulator} or {:error, reason}.
Sets the character set state. Returns {:ok, updated_emulator} or {:error, reason}.
Sets the current hyperlink URL. Returns {:ok, updated_emulator}.
Sets the memory limit for the terminal. Returns {:ok, updated_emulator} or {:error, reason}.
Sets a terminal mode. Returns {:ok, updated_emulator} or {:error, reason}.
Sets the tab stops for the terminal. Returns {:ok, updated_emulator}.
Functions
Gets the current character set state. Returns the current charset state.
Gets the current state from the state stack. Returns the current state or nil if stack is empty.
Gets the current hyperlink URL. Returns the current hyperlink URL or nil.
Gets the current memory limit. Returns the memory limit.
Gets the value of a terminal mode. Returns the mode value or nil if not set.
Gets the current tab stops. Returns the current tab stops.
Pops a state from the state stack. Returns {:ok, updated_emulator} or {:error, reason}.
Pushes a new state onto the state stack. Returns {:ok, updated_emulator} or {:error, reason}.
Sets the character set state. Returns {:ok, updated_emulator} or {:error, reason}.
Sets the current hyperlink URL. Returns {:ok, updated_emulator}.
Sets the memory limit for the terminal. Returns {:ok, updated_emulator} or {:error, reason}.
Sets a terminal mode. Returns {:ok, updated_emulator} or {:error, reason}.
Sets the tab stops for the terminal. Returns {:ok, updated_emulator}.