appcui 0.5.1

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
16
17
#[derive(Clone, Copy)]
/// How a numeric value is displayed in controls such as [`crate::ui::NumericSelector`].
///
/// Choose plain decimal, a percentage, thousands grouping, hexadecimal, or a
/// human-readable size.
pub enum NumberFormat {
    /// Plain decimal, for example `1234`.
    Decimal,
    /// A percentage with a `%` suffix, for example `12%`.
    Percentage,
    /// Decimal with thousands separators, for example `1,234`.
    DigitGrouping,
    /// Hexadecimal, for example `0x4D2`.
    Hex,
    /// Human-readable size, for example `1 KB`.
    Size, 
}