API Reference ExTermbox v2.0.4

View Source

Modules

Elixir bindings for the termbox2 library, providing a way to control the terminal and draw simple UIs using Erlang NIFs.

Represents a termbox cell, a character at a position, along with the cell's background and foreground colors.

Defines constants from the termbox2 library. These can be used e.g. to set formatting attributes, colors, input/output modes, or to identify keys passed in an event.

Represents an event received from the termbox library.

Represents a position on the screen by encoding a pair of cartesian coordinates. The origin is the top-left-most character on the screen (0, 0), while x and y increase from left to right and top to bottom, respectively.

GenServer managing the Termbox NIF lifecycle and event polling.