RangePromptExtensions extension
Dual-handle range prompt for selecting a numeric or percentage span.
Controls:
- ← / → adjust the active handle by
step - ↑ / ↓ or Space switches between start/end handles
- Enter confirms
- Esc / Ctrl+C cancel (returns the initial values)
final (start, end) = terminice.range(
'Memory budget',
startInitial: 2,
endInitial: 8,
unit: 'GB',
);
- on