# cactui
Terminal-based interactive prompts and key menus for CLI applications.
## Features
- **InlinePrompt**: Interactive text input with support for multi-line editing, placeholders, and escape-to-exit mode
- **KeyMenu**: Configurable key-based menus with callbacks, submenus, and custom headers
- **Text Wrapping**: Utilities for calculating and splitting text based on terminal width
## Usage
```rust
use cactui::inline_prompt::InlinePrompt;
use anyhow::Result;
fn main() -> Result<()> {
let name = InlinePrompt::input("Enter your name:", None)?;
println!("Hello, {}!", name);
Ok(())
}
```
## License
MIT