Raxol.Terminal.Commands.OSCHandlers.SelectionParser (Raxol v0.5.0)

View Source

Handles parsing of selection-related OSC commands.

Summary

Functions

Parses a selection command string into a command tuple.

Functions

parse(data)

@spec parse(String.t()) ::
  {:query, nil}
  | {:start, integer(), integer()}
  | {:end, integer(), integer()}
  | {:clear, nil}
  | {:text, String.t()}
  | {:error, term()}

Parses a selection command string into a command tuple.