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

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

Macros

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

Traits

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

Derive Macros