Raxol.Terminal.ScreenBuffer.Output (Raxol v2.0.1)

View Source

Handles output buffer operations for the terminal screen buffer. This module manages the output buffer state and provides functions for writing, flushing, and clearing the buffer.

Summary

Types

t()

@type t() :: %Raxol.Terminal.ScreenBuffer.Output{
  buffer: String.t(),
  control_sequences: [String.t()]
}

Functions

clear(state)

@spec clear(t()) :: t()

enqueue_control_sequence(state, sequence)

@spec enqueue_control_sequence(t(), String.t()) :: t()

flush(state)

@spec flush(t()) :: t()

write(state, data)

@spec write(t(), String.t()) :: t()