Tuix.Runtime (tuix v0.1.3)

Copy Markdown View Source

The event loop: holds the Tuix.App state, dispatches input and resize events to the app's callbacks, manages keyboard focus (Tab / Shift+Tab traversal over focusable elements), routes keys to the focused component element (see Tuix.Component), 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)