Raxol.Terminal.Input.Types (Raxol v0.4.0)

View Source

Defines shared types for the Raxol terminal input subsystem.

Summary

Types

Represents the state of the terminal input buffer.

Types

input_buffer()

@type input_buffer() :: %{
  contents: String.t(),
  max_size: non_neg_integer(),
  overflow_mode: :truncate | :error | :wrap,
  escape_sequence: String.t(),
  escape_sequence_mode: boolean(),
  cursor_pos: non_neg_integer(),
  width: non_neg_integer()
}

Represents the state of the terminal input buffer.