Multi-select list input with keyboard navigation.
import { MultiSelect } from 'nikcli-tui';
new MultiSelect({ parent: screen, options: ['One','Two','Three'] });
npm run tsx:core-gallery
npm i nikcli-tui
new MultiSelect({ parent: screen, top: 1, left: 2, width: 24, height: 6, options: ['A','B','C'], onChange: (idxs, vals) => console.log(idxs, vals) });
new MultiSelect({ parent: screen, top: 1, left: 30, width: 24, height: 6, options: ['X','Y','Z'], maxSelections: 2, allowDeselect: true });