# TUI Backend Examples

Text User Interface form examples - interactive terminal-based forms.

## Files

- **form_with_autocompletion.rs** - Advanced TUI form with completion suggestions
- **tui_survey_form.toml** - Interactive survey in TUI format

## Running Examples

```bash
cargo run -p typedialog-tui --example form_with_autocompletion
```text

## Features

### Interactive Navigation
- Tab/Shift+Tab for field navigation
- Arrow keys for selections
- Mouse support

### Autocompletion
- Real-time suggestions
- Arrow key selection
- Tab to autocomplete

### Visual Feedback
- Highlighting active fields
- Error messages inline
- Progress indication

## Use Cases

- Data entry applications
- System administration tools
- Interactive surveys
- Config builders
- Terminal dashboards

## Keyboard Shortcuts

- `Tab` - Next field
- `Shift+Tab` - Previous field
- `Up/Down` - Navigate options
- `Enter` - Confirm/Submit
- `Esc` - Cancel
