Raxol.Commands.SendInputCommand (Raxol v2.0.1)

View Source

Command to send input to a terminal.

Summary

Functions

Creates a new command with validation.

Types

input_type()

@type input_type() :: :text | :keypress | :paste | :control_sequence

t()

@type t() :: %Raxol.Commands.SendInputCommand{
  command_id: String.t(),
  correlation_id: String.t(),
  input_data: String.t(),
  input_type: input_type(),
  metadata: map(),
  sequence_number: integer() | nil,
  terminal_id: String.t(),
  timestamp: integer(),
  user_id: String.t()
}

Functions

new(attrs)

Creates a new command with validation.

validate(command)