minui 0.1.4

A minimalist Rust framework for TUIs and terminal games.
Documentation
//! Input field widgets (planned feature).
//!
//! This module will provide interactive input widgets for terminal-based user interfaces.
//! These widgets will handle text input, validation, and various input field types.
//!
//! ## Planned Widgets
//!
//! - **TextInput**: Single-line text input field
//! - **MultilineInput**: Multi-line text area
//! - **PasswordInput**: Masked password input field  
//! - **NumberInput**: Numeric input with validation
//! - **SelectInput**: Dropdown/combo box selection
//! - **CheckboxInput**: Boolean checkbox widget
//! - **RadioGroup**: Single-selection radio button group
//!
//! ## Features
//!
//! - **Input Validation**: Built-in and custom validation rules
//! - **Cursor Management**: Visual cursor positioning and movement
//! - **Text Selection**: Support for selecting and manipulating text
//! - **Clipboard Integration**: Copy/paste functionality
//! - **Placeholder Text**: Helpful hints when fields are empty
//! - **Input Masking**: Format-specific input (dates, phone numbers, etc.)
//!
//! ## Future API Design
//!
//! The input widgets will likely follow this pattern:
//!
//! ```rust,ignore
//! use minui::widgets::{TextInput, Widget};
//!
//! let mut input = TextInput::new(10, 5, 30)
//!     .with_placeholder("Enter your name...")
//!     .with_validator(|text| !text.is_empty())
//!     .with_max_length(50);
//!
//! // Handle input events
//! match event {
//!     Event::Character(c) => input.type_char(c),
//!     Event::Backspace => input.delete_char(),
//!     Event::Enter => {
//!         if input.validate() {
//!             println!("Input: {}", input.text());
//!         }
//!     }
//!     _ => {}
//! }
//!
//! input.draw(window)?;
//! ```
//!
//! ## Implementation Status
//!
//! Input widgets are not yet implemented. The current focus is on basic widgets
//! and core functionality. Input widgets will be added in a future release.

// TODO: Implement input field widgets
// These will likely be built as container components with text handling