terminal_dummy (cellium v0.1.0)
View SourceSummary
Functions
Returns the current buffer state for testing purposes.
Returns the character and colors at the specified (X, Y) position from the internal shadow buffer.
Alias for term_poll_event/0. Polls for a terminal event.
Clears the entire terminal screen.
Forces a full redraw on the next term_present call.
Returns an entire row of cells.
Returns a segment of a row of cells.
Returns the height of the terminal in rows.
Initializes the terminal. Enables the alternate screen buffer and hides the cursor.
Polls for a terminal event. This function blocks until an event occurs.
No-op for now, but would typically flush pending output to the terminal.
Prints a string at the specified (X, Y) position with given foreground and background colors.
Sets a single character at the specified (X, Y) position with given foreground and background colors.
Sets the input mode for the terminal. Mode can be 'default' or 'alt'.
Sets the output mode for the terminal. Mode can be 'default', 2 (256-color) 4, or 5 (truecolor).
Shuts down the terminal. Resets attributes, shows the cursor, and disables the alternate screen buffer.
Returns the width of the terminal in columns.
Functions
Returns the current buffer state for testing purposes.
Returns the character and colors at the specified (X, Y) position from the internal shadow buffer.
Alias for term_poll_event/0. Polls for a terminal event.
Clears the entire terminal screen.
Forces a full redraw on the next term_present call.
Returns an entire row of cells.
Returns a segment of a row of cells.
Returns the height of the terminal in rows.
Initializes the terminal. Enables the alternate screen buffer and hides the cursor.
Polls for a terminal event. This function blocks until an event occurs.
No-op for now, but would typically flush pending output to the terminal.
Prints a string at the specified (X, Y) position with given foreground and background colors.
Sets a single character at the specified (X, Y) position with given foreground and background colors.
Sets the input mode for the terminal. Mode can be 'default' or 'alt'.
Sets the output mode for the terminal. Mode can be 'default', 2 (256-color) 4, or 5 (truecolor).
Shuts down the terminal. Resets attributes, shows the cursor, and disables the alternate screen buffer.
Returns the width of the terminal in columns.