API Reference Atui v#0.3.0

Copy Markdown View Source

Modules

A terminal UI toolkit for Elixir, in the shape of Phoenix LiveView.

Runs a slow thing off the UI's process and sends the answer back to a view.

Reads the terminal and sends decoded keys to a target process.

Decodes a raw byte stream from the terminal into key events.

Splits a rect into non-overlapping rects.

A tiling window manager a view can hold in its own state.

A rectangular region of the terminal, in cell coordinates.

The main IO loop: owns the terminal, the view stack and every view's timer.

A fixed-size grid of terminal cells that views draw into.

Colour and text attributes for a cell.

Terminal setup, teardown and the handful of ANSI sequences the runtime needs.

The things a terminal UI does to a string that does not fit, and the one it does to a string it did not write.

A single-line text field a view holds in its own state.

The behaviour every screen implements — the LiveView half of Atui.