Crate terminity_widgets

Source
Expand description

Widgets for easier terminal UI building.

This crate revolves around the trait Widget, and defines various widgets to help building your own. It also defines various other traits for more transparent usage of the widgets.

This crate is currently at a very early development stage. The first changes it might have are an api for un-resizeable widgets and more widgets.

Modules§

widgets
The Widgets themselves. They implement traits given in the crate’s root. Check their respective docs for more detail.

Macros§

frame
Utility macro to build collection frames, aka. Frames.

Traits§

MouseEventWidget
A widget that supports mouse events handling.
ResizableWisget
A widget that supports resizing.
Widget
An item displayable on multiple lines, assumed to be a rectangle (though not yet enforced).

Derive Macros§

WidgetDisplay
Derive macro to automatically implement Display on widgets.