Raxol.Terminal.Parser.States.DesignateCharsetState (Raxol v0.5.0)

View Source

Handles the :designate_charset state of the terminal parser.

Summary

Functions

Processes input when the parser is in the :designate_charset state. Expects a single character designating the character set.

Functions

handle(emulator, parser_state, input)

@spec handle(Raxol.Terminal.Emulator.t(), Raxol.Terminal.Parser.State.t(), binary()) ::
  {:continue, Raxol.Terminal.Emulator.t(), Raxol.Terminal.Parser.State.t(),
   binary()}
  | {:finished, Raxol.Terminal.Emulator.t(), Raxol.Terminal.Parser.State.t()}
  | {:incomplete, Raxol.Terminal.Emulator.t(), Raxol.Terminal.Parser.State.t()}

Processes input when the parser is in the :designate_charset state. Expects a single character designating the character set.