# fedradio

> Single-select radio button field for shell scripts.
> Space selects the focused item; Enter selects-and-exits. Outputs the selected value.
> For multi-select checkboxes, see `fedcheck`.
> More information: `python3 fedradio.py --help`.

- Basic radio:

`python3 fedradio.py 0 0 25 -i "{{Small|Medium|Large}}"`

- Pre-select a value:

`python3 fedradio.py 0 0 25 -i "{{Yes|No|Maybe}}" -v "{{No}}"`

- Only ENTER and ESC can exit:

`python3 fedradio.py 0 0 25 -i "{{A|B|C}}" -e ENTER,ESC`

- Display-only (no editing):

`python3 fedradio.py 0 0 25 -i "{{Yes|No}}" -v "{{Yes}}" -n`

- Colored radio with custom focus highlight:

`python3 fedradio.py 0 0 25 -i "{{Red|Green|Blue}}" --color cyan,default --select-color bright-white,red`
