Raxol.Terminal.Input.Buffer (Raxol v2.0.1)

View Source

Manages input buffering for the terminal emulator.

Summary

Functions

Returns a specification to start this module under a supervisor.

Clears the input buffer for the given process.

Feeds input to the buffer for the given process.

Registers a callback for the input buffer process.

Functions

child_spec(init_arg)

Returns a specification to start this module under a supervisor.

See Supervisor.

clear_buffer(pid)

Clears the input buffer for the given process.

feed_input(pid, input)

Feeds input to the buffer for the given process.

handle_manager_call(request, from, state)

Callback implementation for Raxol.Core.Behaviours.BaseManager.handle_manager_call/3.

register_callback(pid, callback)

Registers a callback for the input buffer process.

start_link(init_opts \\ [])