···11+---
22+"@clack/prompts": patch
33+"@clack/core": patch
44+---
55+66+Fix line wrapping and overflow computation in group multi-select and other list-like prompts.
···142142 'Item 4',
143143 'Item 5',
144144 'Item 6',
145145- 'Item 7',
146146- 'Item 8',
147145 styleText('dim', '...'),
148146 ]);
149147 });
···171169 const result = limitOptions(options);
172170 expect(result).toEqual([
173171 styleText('dim', '...'),
174174- 'Item 2',
175175- 'Item 3',
176172 'Item 4',
177173 'A long item that will take up a lot of space (line 0)',
178174 'A long item that will take up a lot of space (line 1)',
···208204 const result = limitOptions(options);
209205 expect(result).toEqual([
210206 styleText('dim', '...'),
211211- 'Item 4',
212212- 'Item 5',
213207 'Item 6',
214208 'Item 7',
215209 'A long item that will take up a lot of space (line 0)',