Tuix.Runtime (tuix v0.1.0)

Copy Markdown View Source

The event loop: holds the Tuix.App state, dispatches input and resize events to the app's callbacks, and re-renders after every state change.

Rendering is event-driven — nothing is written to the terminal unless state may have changed, and only changed cells are written.

Summary

Functions

Returns a specification to start this module under a supervisor.

Functions

child_spec(init_arg)

Returns a specification to start this module under a supervisor.

See Supervisor.

start_link(opts)