View Source API Reference ElementTui v0.2.1

Modules

Main interface to the ElementTui library, for running a terminal user interface (TUI). Functions in this module allow parsing elements and rendering them to the screen. The function run_loop/3 is a good starting point for running a TUI loop.

Opens a window (tb_init) and kills it on shutdown (tb_shutdown)

Elements are the core of the TUI layout. Importantly they are composable so that you can build complex layouts from simple elements.

Thin wrapper around the termbox2 C library. In general a user should not need to use this directly, but instead use the main ElementTui module.

This genserver will be started by the application. It will also handle drawing, in order to make sure we write single threaded.