# pan input
Capture text input from the user via a TUI popup.
## Usage
```bash
pan input [OPTIONS]
```
## Options
- `-t, --prompt <TEXT>` — Prompt message displayed as title (default: "Input")
- `-W, --width <WIDTH>` — Popup width (default: auto)
- `-v, --value <TEXT>` — Initial value to pre-fill
- `--badge <FILE>` — Ruta a archivo JSON con badges
- `--badge-anchor <ANCHOR>` — Anchor default: tl, t, tr, bl, b, br, l, r (default: tl)
- `--badge-width <WIDTH>` — Default badge width (default: 0 = auto)
- `--badge-lines <LINES>` — Default badge content lines (default: 1)
- `--guide` — Display this guide
## Keybindings
- `Enter` — Confirm input
- `Esc` / `Ctrl+C` — Cancel
- `Backspace` — Delete character before cursor
- `Left/Right` — Move cursor
- `Home/End` — Jump to start/end
## Exit Codes
- `0` — Input confirmed, prints the text
- `1` — Cancelled or error