Raxol.Plugins.Testing.MockTerminal (Raxol v2.0.1)

View Source

Mock terminal implementation for plugin testing

Summary

Functions

child_spec(init_arg)

Returns a specification to start this module under a supervisor.

See Supervisor.

get_buffer(terminal)

get_loaded_plugins(terminal)

get_panel_content(terminal, plugin_name)

get_state(terminal)

get_status_line(terminal)

get_visible_panels(terminal)

handle_manager_info(msg, state)

Callback implementation for Raxol.Core.Behaviours.BaseManager.handle_manager_info/2.

new(width, height, opts \\ [])

send_keypress(terminal, key)

start_link(init_opts \\ [])