Raxol.Protocols.CoreProtocols.BufferOperations protocol (Raxol v2.0.1)
View SourceProtocol for buffer operations across different buffer types. Provides unified interface for screen buffers, text buffers, etc.
Summary
Functions
Clears the buffer or a region of the buffer.
Gets the buffer dimensions.
Reads data from the buffer at the specified position.
Resizes the buffer to new dimensions.
Scrolls the buffer in the specified direction.
Writes data to the buffer at the specified position.
Types
@type t() :: term()
All the types that implement this protocol.
Functions
Clears the buffer or a region of the buffer.
Gets the buffer dimensions.
Reads data from the buffer at the specified position.
Resizes the buffer to new dimensions.
Scrolls the buffer in the specified direction.
Writes data to the buffer at the specified position.