View Source ElementTui (ElementTui v0.2.0)
Main interface to the ElementTui library, for running a terminal user interface.
Summary
Functions
The height of the terminal
Draw the content to the terminal
Render the passed elements to a window starting at column x and row y, with total width and height
Create a loop for your tui. Allows passing along state and a function. The function will be called with the state and the event.
The width of the terminal
Functions
The height of the terminal
Draw the content to the terminal
Render the passed elements to a window starting at column x and row y, with total width and height
Will clear the region before rendering.
Create a loop for your tui. Allows passing along state and a function. The function will be called with the state and the event.
Also possible to pass a timeout, which will be used for polling.
The width of the terminal