Raxol.Terminal.OutputBuffer (Raxol v2.0.1)
View SourceSimple output buffer implementation for terminal output.
Summary
Functions
Clears the output buffer.
Checks if the output buffer is empty.
Flushes the output buffer.
Gets the current output buffer content.
Gets the current output buffer encoding.
Gets the current output buffer mode.
Gets the output buffer size.
Sets the output buffer content.
Sets the output buffer encoding.
Sets the output buffer mode.
Writes a string to the output buffer.
Writes a string to the output buffer with a newline.
Types
@type t() :: String.t()
Functions
Clears the output buffer.
Checks if the output buffer is empty.
Flushes the output buffer.
Gets the current output buffer content.
Gets the current output buffer encoding.
Gets the current output buffer mode.
@spec get_size(t()) :: non_neg_integer()
Gets the output buffer size.
Sets the output buffer content.
Sets the output buffer encoding.
Sets the output buffer mode.
Writes a string to the output buffer.
Writes a string to the output buffer with a newline.