appcui 0.4.17

A feature-rich and cross-platform TUI/CUI framework for Rust, enabling modern terminal-based applications on Windows, Linux, and macOS. Includes built-in UI components like buttons, menus, list views, tree views, checkboxes, and more. Perfect for building fast and interactive CLI tools and text-based interfaces.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
//! A horizontal slider UI control that lets the user pick a numeric value from a range.
//!
//! The HSlider control displays a horizontal bar with a movable marker. The value can be
//! changed by dragging the marker with the mouse or by using the arrow keys, and is always
//! kept within the configured minimum and maximum bounds.

mod initialization_flags;
mod hslider;
pub mod events;
#[cfg(test)]
mod tests;

pub use self::hslider::HSlider;
pub use self::initialization_flags::Type;
pub use self::initialization_flags::Flags;