# pan choose — Interactive Item Selector
Opens an interactive popup to select one or more items from a list. Selected items are printed to stdout.
## Usage
```
pan choose [OPTIONS] <ITEMS>...
```
## Options
| `-t`, `--title` | `"Seleccionar"` | Title in the popup header |
| `-m`, `--multi` | (off) | Enable multi-select with Space |
| `-W`, `--width` | `0` (auto) | Popup width |
| `-H`, `--height` | `0` (auto) | Popup height |
| `-M`, `--max` | (unlimited) | Max selected items (with --multi) |
| `--guide` | | Show this guide |
## Arguments
| `ITEMS` | Items to display (one or more) |
## Exit codes
| 0 | Selection made (items on stdout) |
| 1 | User cancelled (no output) |
## Examples
```bash
# Simple single selection
pan choose foo bar baz
# Multi-select
pan choose -m apple orange banana grape
# Custom title
pan choose -t "Choose a file" file1.txt file2.txt file3.txt
# With explicit size
pan choose -W 60 -H 20 item1 item2 item3
```
## Mouse
- **Click item**: select (single) or toggle (multi)
- **Drag**: click and hold on the border or title bar to move the popup
## Capturing output
See [PANDORA_GUIDE.md](./PANDORA_GUIDE.md#capturing-output) for all capture patterns.
## Keyboard
| `↑` / `k` | Navigate up |
| `↓` / `j` | Navigate down |
| `Tab` | Navigate down |
| `Shift+Tab` | Navigate up |
| `gg` | Go to first item |
| `G` | Go to last item |
| `Enter` | Confirm selection |
| `Space` | Toggle item (multi-select only) |
| `Esc` | Cancel |
| `Ctrl` + `c` | Emergency exit |