uxterm 1.0.0

A user experience-focused terminal UI library built with Crossterm.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
mod widget;

pub use widget::{
    view::{View, WidgetType, WidgetValue, Event},
    button::Button,
    checkbox::Checkbox,
    label::Label,
    slider::Slider,
};

/// Runs the provided view and returns selected values (e.g., checked checkboxes).
pub fn run(mut view: View) -> std::io::Result<Vec<String>> {
    view.run()
}