#include <nxt/tui.hpp>
template <typename T, typename ViewFn>
List struct
Render a span of items by mapping each item to a one-line layout.
Public functions
- auto height_hint() const → HeightHint constexpr
- One line per item.
- void render(RasterView& raster, Size size) const
- Render visible items until the assigned height is filled.
- auto width_hint() const → WidthHint constexpr
- Lists grow to fill available width.